How to find the particular hyperlink field? [Resolved]

Posted by Hemanth.Sutapalli under ASP.NET on 8/14/2012 | Points: 10 | Views : 1254 | Status : [Member] | Replies : 1
hi
i have one problem, in case of grid view , one column field ( hyperlink field) if we press that link is it goes to another page and find out the which hyperlink is pressed ?




Responses

Posted by: Ranjeet_8 on: 8/14/2012 [Member] [MVP] Gold | Points: 50

Up
0
Down

Resolved
use query string to pass the value of selected row.
for eg :
  

<asp:TemplateField HeaderText="Redirect">
<ItemTemplate>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="<%#"Default.aspx?ID="+Eval("Unique_ID_ColumnName") %>" >
Go To Next Page</asp:HyperLink>


Hemanth.Sutapalli, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response