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

table rows on the fly

Status
Not open for further replies.

henslecd

MIS
Apr 21, 2003
259
US
Last week I posted this thread.


I got a great answer and everything works well.

My current problem is when I need to have 2 sets of tablerows on the fly.

I.e. I have 2 dropdowns that each have values 1 through 10.

If you select a value x in the first dropdown, it creates x many rows.

If you then select a value x in the second dropdown, it creates x many rows, but it does away with the first set of tablerows on the fly.

I need the first set of tablerows to remain visible and retain their values.
I need to retain the values of any control on postback.
I am going to need to return values on the postback from both sets of tablerow controls.

Anyone have any ideas on how to make this work?

Thanks

Chad
 
I figured it out. Instead of triggering the event onselectedindexchange, I just called the functions in the pageload. Everything works fine now.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top