Accessing local XML from custom user control - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Accessing local XML from custom user control

  • Accessing local XML from custom user control
  • Hello,

    Is there a way to access an XML file within my sitefinity webapp project files in the backend code for a custom user control?  The site is developed with vb.net.

    Thank you.

  • Hello Tyler,

    Sitefinity is a standard .Net application, so you can use the same approach as in other application. You can check that article for more information:
    https://support.microsoft.com/en-us/kb/301225

    Regards,
    Svetoslav Manchev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  • Hi Svetoslav,

    Thanks for the response.  If I need the xml file within my local project files (ie. cannot access the outside internet to retrieve the xml file), where in my project folder structure do I place the xml file?  How do I access the xml file in the codebehind?

    The closest I can find is the sf:resourceLinks for accessing javascript or CSS files.  But this is in the aspx html code and not the vb.net codebehind.

    Thanks,

    Tyler