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

Scheduler Loads but with no appointments

0 Answers 59 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 18 Jan 2011, 05:04 PM
I'm not sure why but I can get the radscheduler to load and set a breakpoint on the request but when the page loads there are no appointments displayed.

ReadOnly Property FUDataSource() As SqlDataSource
        Get
            Dim BL As New Example_BL.Test_BL
            Dim ds As New SqlDataSource
            'If Session(FUData) Is Nothing OrElse Not IsPostBack Then
            ds = BL.FUMgr_Scheduler_GetSQLDataSource(**** Replaced For Example ****)
            Session(FUData) = ds
            'End If
  
            Return ds
        End Get
    End Property
  
 Private Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
          
        If Not IsPostBack Then
            RadScheduler1.SelectedDate = Now
            RadScheduler1.DataSource = FUDataSource
            'RadScheduler1.DataBind()
            RadCalendar1.SelectedDate = RadScheduler1.SelectedDate
            SyncCalendars()
        End If
    End Sub
  
Private Sub RadScheduler1_NavigationCommand(ByVal sender As Object, ByVal e As Telerik.Web.UI.SchedulerNavigationCommandEventArgs) Handles RadScheduler1.NavigationCommand
        Session(FUData) = Nothing
        RadScheduler1.DataSource = FUDataSource
        'RadScheduler1.DataBind()
    End Sub

No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
Thomas
Top achievements
Rank 1
Share this question
or