Hi
In a bound grid view I have the following hyperlink field;
<asp:HyperLinkF ield
DataNavigateUrl Fields="FldDire ctions"
DataNavigateUrl FormatString="{ 0}"
HeaderText="Dir ections"
Target="_blank"
Text="Direction s">
<HeaderStyle ForeColor="Whit e" />
</asp:HyperLinkFi eld>
FldDirections is coming from the underlying source and provides a url such
as www.mydomain.com. Problem is clicking on this hyperlink brings the url
relative to were the site is running ie something like
http://localhost/Folder1/Folder2/www.mydomain.com. How can I just get the
value retuned by FldDirections i.e. www.mydomain.com?
Thanks
Regards
In a bound grid view I have the following hyperlink field;
<asp:HyperLinkF ield
DataNavigateUrl Fields="FldDire ctions"
DataNavigateUrl FormatString="{ 0}"
HeaderText="Dir ections"
Target="_blank"
Text="Direction s">
<HeaderStyle ForeColor="Whit e" />
</asp:HyperLinkFi eld>
FldDirections is coming from the underlying source and provides a url such
as www.mydomain.com. Problem is clicking on this hyperlink brings the url
relative to were the site is running ie something like
http://localhost/Folder1/Folder2/www.mydomain.com. How can I just get the
value retuned by FldDirections i.e. www.mydomain.com?
Thanks
Regards
Comment