refresh user control inside multiview

Posted by daisy on Stack Overflow See other posts from Stack Overflow or by daisy
Published on 2009-09-10T16:39:35Z Indexed on 2010/04/11 7:03 UTC
Read the original article Hit count: 764

Filed under:
|
|
|
|

In my parentpage I have dropdownlist, multiview and button. Multiview has a user control.

On click of the button i pass the selected value from dropdown to the user control and call the databind method to populate the user control with corresponding data.

User control has gridview which is populated using objectDataSource. I'm using the ObjectCreating (ObjectDataSource) to set the objectInstance.

1st time everything works fine. But when the dropdown selection is changed and the button is clicked again then the user control does not refresh. What do I need to do so that the user control refreshed each time the drop down selection is changed.

All the help is appreciated Thanks

© Stack Overflow or respective owner

Related posts about user

Related posts about control