in my code when i set
link.NavigateUrl = Common.grdTextCell(gridDataItem["URL"].Text);
For the hyperlink in the rad grid.
when i click it it redirect to the application domainName+url rathere than only URL.
How to deattach the Domain and redirect it to the actual navigation url.
http://SomeDomainName/Controls/www.yahoo.com
Make sure
gridDataItem["URL"]starts withhttp://(orhttps://depending)If the URL to navigate to does not start with a protocol (I.e.
http://orhttps://) the browser will assume the link is part of the current domain.I would have something like the following…
You obviously need to modify the above should you need to use
https://instead.