Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
ASP .Net Building Controls
LoadPostData and postCollection not returning the updated values for DropDownLists
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Nathan Sokalski, post: 4258095"] 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. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
ASP .Net Building Controls
LoadPostData and postCollection not returning the updated values for DropDownLists
Top