LoadPostData and postCollection not returning the updated values for DropDownLists

Discussion in 'ASP .Net Building Controls' started by Nathan Sokalski, Aug 26, 2008.

  1. I have a custom control that inherits CompositeControl implements
    IPostBackDataHandler and ICallbackEventHandler. In the LoadPostData
    function, I attempt to use the postCollection parameter to get the data
    posted by the child controls created in CreateChildControls. In the
    PreRender event, I add onchange attributes to the DropDownLists with a value
    created using the Page.ClientScript.GetCallbackEventReference. When one of
    my DropDownLists triggers this callback and the LoadPostData function is
    called, the postCollection parameter does not have the newly selected value
    for the DropDownList. What can I do to get the newly selected value of the
    DropDownList? Any help would be appreciated. Thanks.
    --
    Nathan Sokalski

    http://www.nathansokalski.com/
    Nathan Sokalski, Aug 26, 2008
    #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. Nathan Sokalski
    Replies:
    0
    Views:
    298
    Nathan Sokalski
    Aug 23, 2008
  2. Nathan Sokalski
    Replies:
    0
    Views:
    407
    Nathan Sokalski
    Aug 26, 2008
  3. Dmitry Korolyov

    Datagrid not updated during delete, but updated during insert and update

    Dmitry Korolyov, Sep 22, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    408
    Dmitry Korolyov
    Sep 22, 2003
  4. Ralf Müller
    Replies:
    5
    Views:
    554
    Ashish Kaila
    Dec 10, 2004
  5. Nathan Sokalski
    Replies:
    0
    Views:
    184
    Nathan Sokalski
    Aug 26, 2008
Loading...

Share This Page