Hello,
I have a gridview and need to get a couple of values from the current row being edited and pass them on to a javascript function. For testing I would just like to show them in one alert box. I can get a handle to the one field's ID at time but not sure how
to get both of them and display them on one field's blur event. Here is a snippet from the gridview markup, for example in onblur event of the txtEditcustomer text box I am displaying it's ID but don't know how to get the ID from the txtEditLocation control.
<asp:TemplateField HeaderText="Location">
<ItemTemplate>
<asp:Label ID="lblLocation" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Location") %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate >
<asp:TextBox ID="txtEditLocation" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Locat ...
Go to the complete details ...