two cascading dropdown filter with autopostback

Last post 01-10-2007 9:52 AM by Trash. 4 replies.

Sort Posts:

  • two cascading dropdown filter with autopostback

    12-21-2006, 8:30 AM
    • Loading...
    • Trash
    • Joined on 12-21-2006, 8:00 AM
    • Posts 3

    Hi

    in my example I have two dropdownboxes configured to autopostback and a grid displaying data based on these two dropdown fields. The second drop down is updated based on the first one. The gridview uses the second dropdown to query for the data. It's hard to explain but the gridview displays incorrect/old data.

    1) Dropdown1 changed by user -> Postback fired with new Dropdown1 value and old Dropdown2 value
    2) Page loads with new Dropdown1 value and new Dropdown2 values
    3) Gridview displays data filtered by old dropdown2 value

    Any idea to workarround these issue?

     Thanks

     

  • Re: two cascading dropdown filter with autopostback

    12-21-2006, 9:46 AM
    I wait almost the same answer in this forum 

    http://forums.asp.net/thread/1502098.aspx


     

  • Re: two cascading dropdown filter with autopostback

    12-22-2006, 2:57 AM
    Answer
    • Loading...
    • rexlin
    • Joined on 07-17-2006, 8:43 AM
    • Posts 1,751

    Hi, Trash :

    Here is the tutorial you can have a look:

    http://www.asp.net/learn/dataaccess/tutorial08cs.aspx?tabid=63



    Best Regards,
    __________________________________________________
    Sincerely,
    Rex Lin
    Microsoft Online Community Support

    This posting is provided "AS IS" with on warranties, and confers no rights.
  • Re: two cascading dropdown filter with autopostback

    01-10-2007, 9:51 AM
    • Loading...
    • Trash
    • Joined on 12-21-2006, 8:00 AM
    • Posts 3

    Oh man

     I saw that article and thought my fault isn't in that report.I was just to lazy. Thanks and sorry for wasting server space. :-)

     

    Cheers

  • Re: two cascading dropdown filter with autopostback

    01-10-2007, 9:52 AM
    • Loading...
    • Trash
    • Joined on 12-21-2006, 8:00 AM
    • Posts 3

    Oh man

     I saw that article and thought my fault isn't described in that report.I was just to lazy. Thanks and sorry for wasting server space. :-)

     

    Cheers

Page 1 of 1 (5 items)
Microsoft Communities
Page view counter