tatton777
asked on
Populating DropDownlist in repeater based on value of other DropDownList in a repeater
Hello,
I have a reserved seating app that needs to allow the user to define section, row, seat based on a database that contains a list of available seats. The repeater looks like this...
Ticket 1 [ddlSection] [ddlRow] [ddlSeat]
Ticket 2 [ddlSection] [ddlRow] [ddlSeat]
Ticket 3 [ddlSection] [ddlRow] [ddlSeat]
If the user selects section from Ticket1.ddlSection, the Ticket1.ddlRow should update based on available rows in the section. How do I handle this? Do I use the ItemCommand of the repeater? How do I get the "onselectedindexchanged" to fire within the repeater? Any help would be appreciated. Please include a little example code.
I have a reserved seating app that needs to allow the user to define section, row, seat based on a database that contains a list of available seats. The repeater looks like this...
Ticket 1 [ddlSection] [ddlRow] [ddlSeat]
Ticket 2 [ddlSection] [ddlRow] [ddlSeat]
Ticket 3 [ddlSection] [ddlRow] [ddlSeat]
If the user selects section from Ticket1.ddlSection, the Ticket1.ddlRow should update based on available rows in the section. How do I handle this? Do I use the ItemCommand of the repeater? How do I get the "onselectedindexchanged" to fire within the repeater? Any help would be appreciated. Please include a little example code.
can you post your code here, so we can review and extend it for your solution.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sweet. I'll plug this in to my code an let you now how it goes. Thanks!