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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help retrieving textbox values in nested data grids

Status
Not open for further replies.

Cenedra

Programmer
Jan 2, 2003
114
US
I have a DataList with nested DataGrids in the item templates.

The datagrids have text boxes where a user will enter a quantity of an item.

I can compute these totals if I have one data grid, and I can reference it. So I have the code to find the control of type txtbox names such-and such and that all works fine when I dont use the nested datagrids.

My question is, how to i iterate through each datagrid in each item template on my page so that I can extract the user input?


thanks for your help in advance!
 
Do you want to retrive the entered value once the page is posted back, or do you want to leave the grid in edit mode and say, click a button to retrieve the value

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top