--- uid: web-forms/videos/aspnet-ajax/how-do-i-use-the-conditional-updatemode-of-the-updatepanel title: "[How Do I:] Use the Conditional UpdateMode of the UpdatePanel? | Microsoft Docs" author: JoeStagner description: "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..." ms.author: aspnetcontent manager: wpickett ms.date: 08/01/2007 ms.topic: article ms.assetid: 10b5bad3-4c18-464f-9454-0b3e60b7b8be ms.technology: dotnet-webforms ms.prod: .net-framework msc.legacyurl: /web-forms/videos/aspnet-ajax/how-do-i-use-the-conditional-updatemode-of-the-updatepanel msc.type: video --- [How Do I:] Use the Conditional UpdateMode of the UpdatePanel? ==================== by [Joe Stagner](https://github.com/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 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)](https://channel9.msdn.com/Blogs/ASP-NET-Site-Videos/how-do-i-use-the-conditional-updatemode-of-the-updatepanel) >[!div class="step-by-step"] [Previous](how-do-i-determine-whether-an-asynchronous-postback-has-occurred.md) [Next](how-do-i-implement-the-persistent-communications-pattern-with-the-updatepanel.md)