Navigation pane in Radscheduler

8 posts, 0 answers
  1. Balaji
    Balaji avatar
    15 posts
    Member since:
    Sep 2011

    Posted 09 May 2012 Link to this post

    Navigation Pane in radscheduler gets skip. When i try to navigating to weekly base or monthly base , it is navigate to other part, after that it stops to navigate and again to navigate previous week, it skips that week and show the before one. It skips the in between week scheduled. Can u please help me to sort out this problem.
  2. Plamen
    Admin
    Plamen avatar
    2951 posts

    Posted 10 May 2012 Link to this post

    Hello Balaji,

     
    It is not very clear what in is not working properly. Would you please elaborate a little bit and let us know if this is observed in some of our on-line demos or provide some steps and code that will help us reproduce it. 

    Regards,
    Plamen Zdravkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Balaji
    Balaji avatar
    15 posts
    Member since:
    Sep 2011

    Posted 10 May 2012 Link to this post

    Hi Admin,

    Thank you very much for the reply.

    I used the radscheduler in my app. There are many appointments scheduled for different dates. In the top, there is a navigation arrow button to navigating the scheduled by day,week and months. At first time, i try to click next button it shows the next week of scheduled appoinments, after it is not working. it s stop there. When i try to navigate to see the previous one, it skips that page and shows the previous part of the week. One more time i clicked that next button, it remains the same page. It strucks there only. Here i attached the some screenshots for process flow. Plz, find the attachment.


    Thanks
  4. Balaji
    Balaji avatar
    15 posts
    Member since:
    Sep 2011

    Posted 14 May 2012 Link to this post

    Hi admin,

    Plz, help me to sortout this issue.

    Thanks
  5. Plamen
    Admin
    Plamen avatar
    2951 posts

    Posted 14 May 2012 Link to this post

    Hi Balaji,

     
    This behavior is quite unusual indeed but unfortunately it can not be observed in any one of our demos. In such cases the only way to help you sort it out is if you share the custom code related to RadScheduler that you use in your scenario so we are able to reproduce the same behavior locally.
     
    Please clarify the version of our controls that you are using as well.

    Kind regards,
    Plamen Zdravkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Balaji
    Balaji avatar
    15 posts
    Member since:
    Sep 2011

    Posted 11 Jun 2012 Link to this post

    Hi,

    Here i posted  my code :

     

    <telerik:RadScheduler runat="server" ID="RadScheduler1" Width="850px" Height="440px"

     

    SelectedDate="2007-03-30" DataSourceID="AppointmentsDataSource" DataKeyField="ID"

     

    DataSubjectField="Subject" DataStartField="Start" DataEndField="End" DataRecurrenceField="RecurrenceRule"

     

    DataRecurrenceParentKeyField="RecurrenceParentId" TimeZoneOffset="00:00:00" OnAppointmentCreated="RadScheduler1_AppointmentCreated"

     

    GroupBy="Clinician" StartInsertingInAdvancedForm="True" CustomAttributeNames="UpdDet,CreatedDet, HospDisch, HospDischDt, ClientNo,AppointmentColor,ClientName,EnableRecurrence,pickup,apt_remind_to_clin,apt_remind_to_clnt"

     

    OnClientAppointmentInserting="onAppointmentInserting" RowHeight="16px" OnClientAppointmentMoving="onAppointmentMoving"

     

    ShowFooter="False" OnClientAppointmentMoveEnd="onAppointmentMoveEnd" OnClientFormCreated="schedulerFormCreated"

     

    OnClientAppointmentResizing="onAppointmentResizing" DayView-WorkDayEndTime="20:00"

     

    OnClientAppointmentResizeEnd="onAppointmentResizeEnd" WorkDayEndTime="20:00"

     

    AdvancedForm-Width="1000px" DayEndTime="20:00" TimeLabelRowSpan="6" MinutesPerRow="5"

     

    Skin="WebBlue" HoursPanelTimeFormat="h:mm tt" ValidationGroup="RadScheduler1" DisplayRecurrenceActionDialogOnMove ="true"

     

    ShowAllDayRow="true" >

     

    <TimelineView StartTime="08:00" TimeLabelSpan="60" NumberOfSlots="144" SlotDuration="00:05:00" />

     

    <AdvancedForm Modal="True" DateFormat="M/d/yyyy" TimeFormat="h:mm tt" />

     

    <TimelineView UserSelectable="False" />

     

    <WeekView UserSelectable="True" />

     

    <MonthView UserSelectable="True" />

     

    <DayView UserSelectable="True" />




    Here is my code behind:

     

     

     

     

     

     

    Protected Sub RadScheduler1_NavigationComplete(ByVal sender As Object, ByVal e As SchedulerNavigationCompleteEventArgs)

    RadCalendar1.FocusedDate = RadScheduler1.SelectedDate

     

    End Sub



     

     

     

     

     

    Private Sub RadScheduler1_NavigationCommand(ByVal sender As Object, ByVal e As Telerik.Web.UI.SchedulerNavigationCommandEventArgs) Handles RadScheduler1.NavigationCommand

     Dim dt As Object

     Dim validt As DateTime

     dt = e.SelectedDate

     

     

    If Not dt Is Nothing Then

    If DateTime.TryParse(dt, validt) Then

     RadScheduler1.SelectedDate = CType(validt, Date)

     RadCalendar1.SelectedDate = CType(validt, Date)

    GetEndTimeAndSiteDet()

    RadScheduler1.Rebind()

    RadCalendar1.FocusedDate = RadScheduler1.SelectedDate

    lbl_sched_date.Text = RadCalendar1.SelectedDate.ToString.Trim

     

     

    End If

     

    End If

     

    End Sub



    Thanks.

     

     

     

  7. Plamen
    Admin
    Plamen avatar
    2951 posts

    Posted 14 Jun 2012 Link to this post

    Hi Balaji,

    It seems that the issue is observed because you are resetting the selected date of RadScheduler in the NavigationCommand event.If you want to preserve the ordinary navigation functionality that is implemented in RadScheduler you will have to remove the following code in yellow:

    If Not dt Is Nothing Then
    If DateTime.TryParse(dt, validt) Then
     RadScheduler1.SelectedDate = CType(validt, Date)
     RadCalendar1.SelectedDate = CType(validt, Date)
    GetEndTimeAndSiteDet()
    RadScheduler1.Rebind()

    Hope this will explain the issue. 

    All the best,
    Plamen Zdravkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  8. Balaji
    Balaji avatar
    15 posts
    Member since:
    Sep 2011

    Posted 14 Jun 2012 Link to this post

    Thanks alot. Its working now
Back to Top