how do i differeintaite between full & asynchronous Postback using updatepanel
in javascript
in normal page
Then what I gave should work. Check the ID of the ScriptManager and use that Id instead of what I gave
this s wht i have i n my normal .aspx page
<form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" />
and used id a s ScriptManager1
Then what I gave should work unless you are using master pages and your scriptmanager is in master page
no i donthave any master oage
if (ScriptManager1.IsInAsyncPostBack) { alert("Async Postback"); } else { alert("Normal Postback"); } </script> </head> <body >
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.