views:

214

answers:

1

Hi,

By default the postback of child controls will trigger update panels' update.

How can I avoid the same?

Thanks in advance !

+1  A: 

You can set the ChildrenAsTriggers property of the updatepanel to false.

This will stop children causing postbacks by default.

Another way is to look at your scriptmanager's AsyncPostBackSourceElementID to identify the control that triggered the event, and then ignore it.

SLC
Thanks alot !!!
Anish Mohan
If this answer helped you, could you mark it as the correct answer by pressing the tick button?
SLC