J
John
Hi
In a bound grid view I have the following hyperlink field;
<asp:HyperLinkField
DataNavigateUrlFields="FldDirections"
DataNavigateUrlFormatString="{0}"
HeaderText="Directions"
Target="_blank"
Text="Directions">
<HeaderStyle ForeColor="White" />
</asp:HyperLinkField>
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:HyperLinkField
DataNavigateUrlFields="FldDirections"
DataNavigateUrlFormatString="{0}"
HeaderText="Directions"
Target="_blank"
Text="Directions">
<HeaderStyle ForeColor="White" />
</asp:HyperLinkField>
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