Wednesday, March 21, 2012

How can I reload all UserControls when the event fires in one of them(.ASCX) ( inside the

I have 3 UserControls on a page inside the same UpdatePanel.
When the event fires in one them (Voting control), both others should be updated(blocked for user = 'Disabled').
How should I reload those other UserControls? They are reloaded only after the whole Page is reloaded, so the data are lost by this moment

Hello,

In your code-behind, first remove the controls and then add them, But if you can better explain a bit more what you wanna do, we can help more.

But if your user controls are inside updatepanel only thing which will update is what you changing from code behind. So are you changing other user controls from code behind ??

No comments:

Post a Comment