Hi,
I am using radscheduler. date binding in page load. start date working fine. but appointment panel not continued to end date. here i attached my code.
i have attached image file also. please check and let me know.
<telerik:RadScheduler ID="RadScheduler1" runat="server" DataKeyField="ID" DataSubjectField="Subject"
DataStartField="StartDate" DataEndField="EndDate" SelectedView="MonthView"
Reminders-Enabled="true" RowHeight="30px"
AppointmentStyleMode="Default">
</telerik:RadScheduler>
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
Dim lst As New List(Of MyScedule)()
Dim obj As New MyScedule()
obj.ID = 1
obj.Subject = "my Subject"
obj.StartDate = Convert.ToDateTime("01-11-2012")
obj.EndDate = Convert.ToDateTime("01-12-2012")
lst.Add(obj)
RadScheduler1.DataSource = lst
RadScheduler1.DataBind()
End If
End Sub
class file
------------
Public Class MyScedule
Public Property ID() As Integer
Get
Return m_ID
End Get
Set(ByVal value As Integer)
m_ID = value
End Set
End Property
Private m_ID As Integer
Public Property Subject() As String
Get
Return m_Subject
End Get
Set(ByVal value As String)
m_Subject = Value
End Set
End Property
Private m_Subject As String
Public Property StartDate() As DateTime
Get
Return m_StartDate
End Get
Set(ByVal value As DateTime)
m_StartDate = Value
End Set
End Property
Private m_StartDate As DateTime
Public Property EndDate() As DateTime
Get
Return m_EndDate
End Get
Set(ByVal value As DateTime)
m_EndDate = Value
End Set
End Property
Private m_EndDate As DateTime
End Class
I am using radscheduler. date binding in page load. start date working fine. but appointment panel not continued to end date. here i attached my code.
i have attached image file also. please check and let me know.
<telerik:RadScheduler ID="RadScheduler1" runat="server" DataKeyField="ID" DataSubjectField="Subject"
DataStartField="StartDate" DataEndField="EndDate" SelectedView="MonthView"
Reminders-Enabled="true" RowHeight="30px"
AppointmentStyleMode="Default">
</telerik:RadScheduler>
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
Dim lst As New List(Of MyScedule)()
Dim obj As New MyScedule()
obj.ID = 1
obj.Subject = "my Subject"
obj.StartDate = Convert.ToDateTime("01-11-2012")
obj.EndDate = Convert.ToDateTime("01-12-2012")
lst.Add(obj)
RadScheduler1.DataSource = lst
RadScheduler1.DataBind()
End If
End Sub
class file
------------
Public Class MyScedule
Public Property ID() As Integer
Get
Return m_ID
End Get
Set(ByVal value As Integer)
m_ID = value
End Set
End Property
Private m_ID As Integer
Public Property Subject() As String
Get
Return m_Subject
End Get
Set(ByVal value As String)
m_Subject = Value
End Set
End Property
Private m_Subject As String
Public Property StartDate() As DateTime
Get
Return m_StartDate
End Get
Set(ByVal value As DateTime)
m_StartDate = Value
End Set
End Property
Private m_StartDate As DateTime
Public Property EndDate() As DateTime
Get
Return m_EndDate
End Get
Set(ByVal value As DateTime)
m_EndDate = Value
End Set
End Property
Private m_EndDate As DateTime
End Class