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

Scheduler performance

1 Answer 102 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Sachin
Top achievements
Rank 1
Sachin asked on 04 Nov 2010, 07:16 AM
Hi,

I have something that i need urgent help for. I am designing a scheduler appplication for one of our clients and asked them buy the Telerik control as it covers most of the requirements, however below are some of the concerns we are facing in application designed.

1. Performance

We are using Modal forms for advanced insert and edit. Everything is working fine as per the functionality is concerned, however clicking New appointment or edit appointment buttons takes considerable amount of time for window to open. Some times we even face time out issues. We have tuned the database to work bit faster on all queries, but still the slowness exists. Considering the application being used for support staff this is surely not going to be be accepted. However first of all i would like you to suggest me the way to increase time out period and imporove performance.

2. Databinding

On the advanced form i have radcombobox for filtering all the persons. Now i have two more controls on page that are bound with the person value selected in this field i.e. Databound control to display person contact and address details and a grid all teh way down to isplay all other appointments for that person. 

Now t bind data with these two controls i am taking selected person value from combobox and posting the page back for databinding. However this postback closes teh advanced form and takes considerable amout of time to open again. Any suggessions to improve this behaviour will be very much helpful. I woudl liek to avoid postback for databinding.

I would like you guys to help me on these two items as soon as possible as this needs to be resolved on urgent basis to close the deal, however my main concern is the speed and performance. Please suggest me a quick way out of this.

Regards,
Sachin  

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 05 Nov 2010, 05:54 PM
Hello Sachin,

1. Indeed, the modal form uses additional javascript and is usually slower than the non-modal one. Setting <AdvancedForm Modal="false" /> is likely to increase performance. Also, I suggest you try the general top performance tips:
http://www.telerik.com/products/aspnet-ajax/resources/top-performance.aspx

2. You can prevent the flicker if  you ajaxify the controls in the AdvancedForm user control using RadAjaxManager. Here is how:

1. Add RadAjaxManager to your RadScheduler aspx page, but wrap RadScheduler in RadAjaxUpdate panel:

Default.aspx:
<telerik:RadAjaxManagerID="RadAjaxManager1"runat="server"
           
</telerik:RadAjaxManager
    
    
<telerik:RadAjaxPanelID="RadAjaxPanel1"runat="server"
    
     <telerik:RadSchedulerrunat="server"ID="RadScheduler1".../> 
    
</telerik:RadAjaxPanel>

2. In the AdvancedForm user control handle Page_Load to find RadAjaxManager and add ajax settings dynamically.

AdvancedForm.ascx
protectedoverridevoidOnLoad(System.EventArgs e) 
   
       base.OnLoad(e); 
       RadAjaxManager LocalManager = RadAjaxManager.GetCurrent(Page); 
       LocalManager.AjaxSettings.AddAjaxSetting(control1, control2); 
   }




Regards,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
Sachin
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or