dropdown list, gridview, and viewstate

Discussion in 'ASP .Net' started by coli@rocketmail.com, Nov 5, 2004.

  1. Guest

    I've run into a very odd problem...

    I've overwriten LoadPageStateFromPersistenceMedium and
    SavePageStateToPersistenceMedium in order to store the page's
    viewstate into the session. This is so user input get's saved when the
    user moves to another page and then back again.



    This worked fine for textbox and dropdownlist outside of gridview.

    But it does not work for dropdownlist inside gridview (it's a footer
    of one of the field). The selectedindex get's reset every time...

    Anyone know why and how to fix it?
     
    , Nov 5, 2004
    #1
    1. Advertisements

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. =?Utf-8?B?a2Vu?=
    Replies:
    1
    Views:
    10,681
    Wiktor Zychla [C# MVP]
    Jan 23, 2006
  2. sjmyers
    Replies:
    0
    Views:
    1,911
    sjmyers
    Mar 27, 2007
  3. =?Utf-8?B?RGF2ZSBU?=

    Columns in Dropdown list and list box

    =?Utf-8?B?RGF2ZSBU?=, Jun 25, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    608
    jufemaiz: jc
    Jun 27, 2007
  4. Replies:
    2
    Views:
    603
  5. Paul
    Replies:
    3
    Views:
    1,354
  6. Paul
    Replies:
    2
    Views:
    626
  7. Erik1066

    Gridview with Dropdown list

    Erik1066, Sep 3, 2010, in forum: .NET
    Replies:
    0
    Views:
    1,567
    Erik1066
    Sep 3, 2010
  8. Houston Lucifer

    Disable Dropdown list in GridView(Edit Mode)

    Houston Lucifer, Dec 13, 2005, in forum: ASP .Net Web Controls
    Replies:
    4
    Views:
    1,784
    Phillip Williams
    Dec 14, 2005
Loading...