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.
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.