Hello,
I have a link in the footer template of a datalist:
and I need to get the value of a text box that is in the item template of the datalist:
My problem is that when I click on the link, the datalist item command does not get fired. How can I retrieve the value from the text box and assign it to lGroupID? either in the HTML or the code behind. Thanks in advance!
I have a link in the footer template of a datalist:
Code:
<TD><A href="datFemeca_Copy.aspx?GroupID=<%=lGroupID%>" >Copy Existing FEMECA</A>
Code:
<asp:TextBox id=tbGroupID runat="server" Visible="False" Text='<%# CheckNoData(DataBinder.Eval(Container, "DataItem.GroupID").tostring) %>'>
</asp:TextBox></TD>