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
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