Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting value from text box

Status
Not open for further replies.

ksbrace

Programmer
Joined
May 13, 2000
Messages
501
Location
US
Hello,
I have a link in the footer template of a datalist:
Code:
<TD><A href=&quot;datFemeca_Copy.aspx?GroupID=<%=lGroupID%>&quot; >Copy Existing FEMECA</A>
and I need to get the value of a text box that is in the item template of the datalist:
Code:
<asp:TextBox id=tbGroupID runat=&quot;server&quot; Visible=&quot;False&quot; Text='<%# CheckNoData(DataBinder.Eval(Container, &quot;DataItem.GroupID&quot;).tostring) %>'>
	</asp:TextBox></TD>
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!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top