Wednesday, March 28, 2012

UpdatePanel

Hi,

I have 3 update panels on my page. 1 is used for a submit button, 1 is for the rating control and the other is a message. Now if I click a button (which is under an updatepanel), it reloads the tool as well, which I realize is correct! :) I was wondering is it possible, I can control which update panel to fire off in a certain scenario? e.g clicking on the rating tool shouldn't reload the message or vice versa.

I would appreciate all help.

Thanks!

Set UpdateMode of the panel to Conditional, and then add triggers. The panel will only update when the events you specify occur. You may also need to set ChildrenAsTriggers=False.

No comments:

Post a Comment