jeff
jeff

Reputation: 446

Nested UpdatePanel - Update Parent UpdatePanel without updating the Child UpdatePanels?

Is there a way to update only the parent UpdatePanel without updating the child UpdatePanel?

Thanks.

Upvotes: 2

Views: 2216

Answers (2)

Claudio Redi
Claudio Redi

Reputation: 68400

Maybe there is a complicated way to do that that I'm not aware of. So far I know this is NOT possible.

http://www.asp.net/(S(ywiyuluxr3qb2dfva1z5lgeg))/learn/Ajax/tutorial-02-cs.aspx

Note that when UpdatePanel controls are nested, when the UpdateMode is set to Conditional, if the child UpdatePanel is triggered, but the parent is not, then only the child UpdatePanel will refresh. However, if the parent UpdatePanel is refreshed, then the child UpdatePanel will also be refreshed.

Upvotes: 3

TheGeekYouNeed
TheGeekYouNeed

Reputation: 7539

Set your Child UpdatePanels to UpdateMode=Conditional

Upvotes: -1

Related Questions