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. 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. Lin
    Replies:
    0
    Views:
    2,114
  2. MattB
    Replies:
    8
    Views:
    663
    Darren Kopp
    Feb 22, 2006
  3. Nathan Sokalski
    Replies:
    0
    Views:
    484
    Nathan Sokalski
    Aug 23, 2008
  4. Nathan Sokalski
    Replies:
    0
    Views:
    526
    Nathan Sokalski
    Aug 26, 2008
  5. 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:
    645
    Dmitry Korolyov
    Sep 22, 2003
  6. Ralf Müller
    Replies:
    5
    Views:
    902
    Ashish Kaila
    Dec 10, 2004
  7. Nathan Sokalski
    Replies:
    0
    Views:
    306
    Nathan Sokalski
    Aug 26, 2008
  8. Ken Beard
    Replies:
    4
    Views:
    458
    Yan-Hong Huang[MSFT]
    Jul 28, 2003
Loading...