Two related DropDownList box in GridView footer

G

Guest

I have a GridView with paging enabled with controls set up in the footer for
adding new rows. In one column, I have two related dropdown list controls,
DrowDown B's list should change depending on the selected value in DropDown
A. However, to maintain the viewstate of these control seems impossible. If
I populate DropDown A when (If !IsPostBack), then DropDown A would be empty
when I go to a different page of the GridView.

But if I just repopulating DropDown A regardless of IsPostBack, then I
won't be able to keep track of what the user has selected.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top