How can I open a XML file from the location mentioned in the web.config file using Hyperlink control?
I have an aspx page with hyperlink control and in code behind I do the following:
web.config looks like:
This code is not working. In IE, it doesn't do anything but in FF, it throws a error box with message that the "FF doesn't know how to open this address..."
I have an aspx page with hyperlink control and in code behind I do the following:
Code:
hypLink.Text = "Transformed XML"; hypLink.NavigateUrl = ConfigurationSettings.AppSettings["OutputXML"];
Code:
<add key="OutputXML" value="C:\Working\MyTest\XMLTransform\App_Data\Transformed.xml"/>
Comment