Two related DropDownList box in GridView footer

Discussion in 'ASP .Net' started by =?Utf-8?B?SiBMaQ==?=, Nov 4, 2006.

  1. 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.
     
    =?Utf-8?B?SiBMaQ==?=, Nov 4, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gnarlodious
    Replies:
    4
    Views:
    17,611
    elizas
    May 5, 2010
  2. Mike
    Replies:
    2
    Views:
    461
    lordy
    Jun 12, 2006
  3. Maxwell Hammer
    Replies:
    7
    Views:
    647
    Peter Hansen
    Jun 18, 2005
  4. Replies:
    0
    Views:
    2,521
  5. Henrik
    Replies:
    1
    Views:
    428
    Ken Cox [Microsoft MVP]
    Jul 6, 2006
Loading...

Share This Page