I have a hyperlink as below :
<asp:TemplateField ControlStyle-CssClass="hlink" HeaderText="LOG LINK" ItemStyle-Width="6%" ItemStyle-Font-Underline="true" >
<ItemTemplate>
<asp:HyperLink ID="lnk" runat="server" Target="_blank" Text='Link' NavigateUrl='<%# ((string)Eval("logLink")).Replace("server","myserv") %>'></asp:HyperLink>
</ItemTemplate>
</asp:TemplateField>
The situation is as below :
Normally,when you hover over a link your select arrow changes to the hand arrow telling the user this is clickable. (This is happening correctly)
Also,when you hover on the link ,in the bottom left of the browser you get a small tooltip sort of thing which shows the url you will be directed to if you click on the link.
I am getting the correct url with the string replaced as desired.
But when I click on the link nothing is happening.
Its very weird. I tried copying the url and pasting it directly on my browser,that works fine but when I click the same url from the link,nothing is happening.
If the question is not understood properly,please post it on the comment.
Any idea anyone?