Hi, my Default.aspx looks like:
The Data is displayed correctly. But if i want to switch for example between Timeline and DayView or i want to Edit an Appointment, i get an Error:
Why is that?
If i Delete the ResourceTyp so i can Switch between the different views and i can edit the Appointment. But theres another Problem. For Example: My Appointment is from 16:00 until 17:00 at 11.07.2012 which is correcly displayed in the Dayview, but in the editMode the Date and the time ist wrong. How can i synchronize that ?
Thanks in advance
<
telerik:RadScheduler
ID
=
"RadScheduler1"
runat
=
"server"
Culture
=
"de-DE"
DataEndField
=
"BIS"
DataKeyField
=
"RAUMID"
DataSourceID
=
"SqlDataSource1"
DataStartField
=
"VON"
DataSubjectField
=
"RAUMBEZEICHNUNG"
Height
=
"600px"
HoursPanelTimeFormat
=
"HH:mm"
Skin
=
"Black"
SelectedView
=
"TimelineView"
>
<
ResourceTypes
>
<
telerik:ResourceType
AllowMultipleValues
=
"True"
DataSourceID
=
"SqlDataSource2"
ForeignKeyField
=
"RAUMID"
KeyField
=
"RAUMID"
Name
=
"Resource Type 0"
TextField
=
"BEZEICHNUNG"
/>
</
ResourceTypes
>
<
TimelineView
SlotDuration
=
"01:00:00"
NumberOfSlots
=
"24"
ColumnHeaderDateFormat
=
"HH:mm"
/>
<
TimelineView
UserSelectable
=
"true"
GroupBy
=
"Resource Type 0"
GroupingDirection
=
"Vertical"
/>
<
DayView
DayStartTime
=
"08:00:00"
DayEndTime
=
"00:00:00"
EnableExactTimeRendering
=
"true"
ShowHoursColumn
=
"true"
/>
</
telerik:RadScheduler
>
<
asp:SqlDataSource
ID
=
"SqlDataSource1"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:Book-IT-LHConnectionString %>"
SelectCommand="SELECT [RAUMBEZEICHNUNG], [RAUMID], [VON], [BIS] FROM [VIEW_RAUMBUCHUNG]" >
</
asp:SqlDataSource
>
<
asp:SqlDataSource
ID
=
"SqlDataSource2"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:Book-IT-LHConnectionString %>"
SelectCommand="SELECT [RAUMID], [BEZEICHNUNG] FROM [VIEW_RAUM]">
</
asp:SqlDataSource
>
The Data is displayed correctly. But if i want to switch for example between Timeline and DayView or i want to Edit an Appointment, i get an Error:
Sys.WebForms.PageRequestManagerServerErrorException
Why is that?
If i Delete the ResourceTyp so i can Switch between the different views and i can edit the Appointment. But theres another Problem. For Example: My Appointment is from 16:00 until 17:00 at 11.07.2012 which is correcly displayed in the Dayview, but in the editMode the Date and the time ist wrong. How can i synchronize that ?
Thanks in advance