<asp:ScriptManager ID="ScriptManager1" runat="server"/>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<Triggers>
<asp:AsyncPostBackTrigger ControlID="chkStaySignedIn" EventName="Checked" />
</Triggers>
<ContentTemplate>
<asp:Label ID="lblPassword" runat="server" Text="Password" AssociatedControlID="txtPassword"/>
</ContentTemplate>
</asp:UpdatePanel>
EventName="Checked" Can anyone provide me a link to complete list of event names while using ajax.
Description. <asp:AsyncPostBackTrigger> Specifies a control and event that will cause a partial page update for the UpdatePanel that contains this trigger reference. <asp:PostBackTrigger> Specifies a control and event that will cause a full page update (a full page refresh).
By using Ajax updatepanel we can refresh only required part of page instead of refreshing whole page. Ajax updatepanel contains property called UpdateMode this property is used to specify whether UpdatePanel is always refreshed during a partial render or if it refresh only when a particular trigger hit.
UpdatePanel controls are a central part of AJAX functionality in ASP.NET. They are used with the ScriptManager control to enable partial-page rendering. Partial-page rendering reduces the need for synchronous postbacks and complete page updates when only part of the page has to be updated.
The checkbox's event name is CheckedChanged
It isn't a definitive list by any means, but this MSDN page lists the default event names for common controls that post back.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With