We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

UpdatePanel to prevent full Page Postback when using OnServer-Methods

Thread ID:





141609 Dec 20,2018 02:47 PM UTC Dec 24,2018 03:36 AM UTC ASP.NET Web Forms (Classic) 3
Tags: Schedule
Manuel S
Asked On December 20, 2018 02:47 PM UTC

Hi guys,

Is it somehow possible to use an UpdatePanel or else to prevent the full Page Postback when using OnServer-Methods?

When putting a Schedule Control inside an UpdatePanel within a standard fresh built ASP.NET Web Forms App with .NET 4.5 all other controls are not causing a full Page Postback inside an UpdatePanel with EnablePartialRendering enabled on the ScriptManager but the Schedule Control will do a Page Postback eg. for accessing the OnServerAppointmentCreated Method.


Karthigeyan Krishnamurthi [Syncfusion]
Replied On December 21, 2018 05:23 AM UTC

Thank you for contacting Syncfusion support. 
We have prepared the below sample using UpdatePanel to prevent the page reload on calling server methods. 
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server"> 
    <asp:UpdatePanel ID="UpdatePanel1" runat="server"> 
            <asp:AsyncPostBackTrigger ControlID="Schedule1" /> 
            <ej:Schedule ID="Schedule1" ClientIDMode="Static" Height="525px" Width="100%" CurrentDate="5/5/2014" runat="server" DataSourceID="SqlDataSource1" OnServerAppointmentClick="Schedule1_ServerAppointmentClick" > 
                <AppointmentSettings Id="Id" Subject="Subject" AllDay="AllDay" StartTime="StartTime" EndTime="EndTime" Recurrence="Recurrence" RecurrenceRule="RecurrenceRule" /> 
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:DefaultConnection %>" SelectCommand="SELECT * FROM [Appointment]"></asp:SqlDataSource> 

Manuel S
Replied On December 21, 2018 01:12 PM UTC

Awesome. Works like a charm now!

Didn't had in mind that I was simply missing the AsyncPostBackTrigger.

Merry Xmas,

Karthigeyan Krishnamurthi [Syncfusion]
Replied On December 24, 2018 03:36 AM UTC

We are happy that our solution fulfilled your requirement. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon