This is a migrated thread and some comments may be shown as answers.

Radscheduler doing a postback

5 Answers 193 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
aditya
Top achievements
Rank 1
aditya asked on 26 Jun 2009, 11:46 AM
Hi Telerik,

I have a page where the Radscheduler control is used. The only problem is when i try navigate between dates using "<" Today ">"  icons section (which comes as part of the control)it does a post back and the entrie page gets refreshed. I have added the RadAjaxManager to restict the post back for few buttons and Radscheduler itself but that doesnt seem to work.

am i missing any thing? I havent added any code at .cs level which i think is the entire idea of code less ajax implementation.
Please suggest a way to solve this.

Thanks and Regards,
Adi.

 

5 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 26 Jun 2009, 01:42 PM
Hello aditya,

I tried the following code and RadScheduler didn't produce postback when clicking the today link:

 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
       <AjaxSettings> 
           <telerik:AjaxSetting AjaxControlID="RadScheduler1">  
               <UpdatedControls> 
                   <telerik:AjaxUpdatedControl ControlID="RadScheduler1" /> 
               </UpdatedControls> 
           </telerik:AjaxSetting> 
       </AjaxSettings> 
     
   </telerik:RadAjaxManager> 
   <telerik:RadScheduler   
        ID="RadScheduler1" 
        runat="server" 



Regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
aditya
Top achievements
Rank 1
answered on 26 Jun 2009, 03:00 PM
Hi Peter,

My code looks exactly the same but still i am not able restrict the postback. Everytime is click on "Today" section i go to the page_load method. I have a few queries from my end

1) Would this happen if i dont install MS.NET Ajax engine which is a base to Telerick Ajax? What would be the senario in that case?
2) Having a Ajax tool kit installed would be sufficent or would i have to run other setups?
3) After page_load method is executes radScheduler_NavigationComplete method where i am binding my results to scheduler, Is this correct?
4) Should i put a IsAjaxcall and check?

Please let me know if more inputs are needed.

Regards,
Adi.

0
Peter
Telerik team
answered on 26 Jun 2009, 04:21 PM
Hi aditya,

Which framework do you use .net 2.0 or .net 3.5? For .net 20, you need to have ajax extensions installed. Please, see this help topic for details:
http://www.telerik.com/help/aspnet-ajax/adding%20radcontrols%20prometheus%20to%20an%20existing%20application.html

 Do you get any compilation errors?


All the best,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Anders
Top achievements
Rank 1
answered on 16 Apr 2020, 07:34 PM
Is this problem resolved?
0
Peter Milchev
Telerik team
answered on 21 Apr 2020, 10:50 AM

Hello Ingemar,

The Scheduler needs a postback when bound server-side. This postback is expected as you are Navigating between views and reminding and re-rendering is needed server-side.

A postback is not triggered when the Scheduler is bound client-side, for example, to a Web Service, as in the Overview demo of the Scheduler:

Regards,
Peter Milchev
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Scheduler
Asked by
aditya
Top achievements
Rank 1
Answers by
Peter
Telerik team
aditya
Top achievements
Rank 1
Anders
Top achievements
Rank 1
Peter Milchev
Telerik team
Share this question
or