avoid update panel trigger by child control

2.4k views Asked by At

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

How can I avoid the same?

Thanks in advance !

1

There are 1 answers

1
NibblyPig On

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.