Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LoadPostData and PostCollection not returning the updated values for DropDownLists

0 views
Skip to first unread message

Nathan Sokalski

unread,
Aug 23, 2008, 6:26:46 PM8/23/08
to
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? Thanks.
--
Nathan Sokalski
njsok...@hotmail.com
http://www.nathansokalski.com/


0 new messages