I have a gridview with 5 columns , i am bind gridview on pageload .... each row of gridview has a checkbox aslo ..... and i have a hyperlink outside the gridview..
I want that when i check checkbox of particular row the 'Firstname' field of that row should display as link , i am using jquery to avoid postback .. but not able to get that field value as link.
here is my gridview code:
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False" DataKeyNames="EmployeeID">
<Columns>
<asp:TemplateField HeaderText="Name"
SortExpression="FirstName">
<ItemTemplate>
<asp:CheckBox ID="CheckBox1" runat="server" Enabled="true" />
<asp:Label ID="Label1" runat="server"
Text='<%# Bind("FirstName") %>'></asp:Label>
<asp:Label ID="Label2" runat="server"
Text='<%# Eval("LastName") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="Title" HeaderText="Title"
SortExpression="Title" />
<asp:BoundField DataField="HireDate" HeaderText="HireDate"
SortExpression="HireDate" />
</Columns>
</asp:GridView>