avoid update panel trigger by child control
By default the postback of child controls will trigger update panels' update.
How can I avoid the same开发者_Go百科?
Thanks in advance !
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.
精彩评论