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

[Solved] RadScheduler take more time to show appointment

2 Answers 218 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Hrushikesh Mokashi
Top achievements
Rank 1
Hrushikesh Mokashi asked on 15 Oct 2008, 07:18 AM

Hi All,

I am using RadScheduler

I want to show 3 link in each appointment of radscheduler.

so i added 3 link button in appointment template of radschedular as follows
aspx page tags are follows

<telerik:RadScheduler ID="radSchedulCalender" runat="server"
                                      AllowDelete="False" AllowInsert="False" DataEndField="STARTTIME"
                                      DataKeyField="UNIQUEID" DataRecurrenceField="contact"
                                      DataRecurrenceParentKeyField="contact" DataStartField="STARTTIME"
                                      DataSubjectField="subject" 
                                                                            Skin="Outlook">
                                      <appointmenttemplate>
                                  
                    <asp:LinkButton ID="lbtnButton1" runat="server"</asp:LinkButton>
<asp:LinkButton ID="lbtnButton2" runat="server"</asp:LinkButton>
<asp:LinkButton ID="lbtnButton3" runat="server"</asp:LinkButton>                                  
                                  </appointmenttemplate>
                                      <timelineview userselectable="false" /></telerik:RadScheduler>

from serverside event i assign data to it.

Private Sub radSchedulCalender_AppointmentCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.AppointmentCreatedEventArgs) Handles radSchedulCalender.AppointmentCreated
        Dim dsTemp As New DataSet
               
            dsTemp = Me.Session("CalenderData")
            If Not String.Compare(Convert.ToString(e.Appointment.ID), "") = 0 Then
                Dim sContactId As String = ""
                Dim lblButton As LinkButton = CType(e.Container.FindControl("lbtnButton1"), LinkButton)
                lblButton.Text = e.Appointment.Subject
                lblButton.ToolTip = e.Appointment.RecurrenceRule
                lblButton.Attributes.Add("onclick", "OpenWindow(); return false;")

              ...
.             .
                ..
             

same for button 2 and button 3

end sub
While nevgating from day view to month view/week view or from monthview to dayview.
 it takes more time to load.

How can reduce its loading time.

 




2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 15 Oct 2008, 12:36 PM
Hello Hrushikesh,

There isn't anything specific to RadScheduler you can do to imrove performance, but you can try some of the general optimization tips.


All the best,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
SKS
Top achievements
Rank 1
answered on 14 Sep 2009, 10:21 PM
is there a way to customise a RADScheduler by inheriting from it?
what methods need to be overridden that case?and what events need to be handled?
Tags
Scheduler
Asked by
Hrushikesh Mokashi
Top achievements
Rank 1
Answers by
Peter
Telerik team
SKS
Top achievements
Rank 1
Share this question
or