AspNetCore.Docs/aspnet/web-forms/videos/aspnet-ajax/how-do-i-use-the-conditiona...

1.6 KiB

uid title author description ms.author ms.date ms.assetid msc.legacyurl msc.type
web-forms/videos/aspnet-ajax/how-do-i-use-the-conditional-updatemode-of-the-updatepanel [How Do I:] Use the Conditional UpdateMode of the UpdatePanel? | Microsoft Docs JoeStagner The ASP.NET AJAX UpdatePanel includes an UpdateMode property that may be set to 'Always' or 'Conditional'. The default is Always, in which case the UpdatePan... riande 08/01/2007 10b5bad3-4c18-464f-9454-0b3e60b7b8be /web-forms/videos/aspnet-ajax/how-do-i-use-the-conditional-updatemode-of-the-updatepanel video

[How Do I:] Use the Conditional UpdateMode of the UpdatePanel?

by Joe Stagner

The ASP.NET AJAX UpdatePanel includes an UpdateMode property that may be set to 'Always' or 'Conditional'. The default is Always, in which case the UpdatePanel will always update its content during an asychronous postback. In this video we learn how we can set the UpdateMode to Conditional, in which case the UpdatePanel will only update its content when our server-side code calls its Update method. This allows you to use conditional logic in your C# or Visual Basic code to determine whether the UpdatePanel will update its content during the current asynchronous postback.

▶ Watch video (13 minutes)

[!div class="step-by-step"] Previous Next