Hi Team,
I've implemented the rad scheduler, where the data will be collect from the Db and binds to the calender.
I've done the bindings correctly, but in the month view the appointments details doesn't shown fully.
I've set the row height in the scheduler and the output looks good in the month view where in the day view it breaks.
Also i set padding to the appointment, but it overlaps.
I've pasted the aspx code below also
I've attached 2 output images.
where
1. withoutfulldetails.jpg - i didn't set row height to the scheduler, but the appointment details not shown fully.
2.withfulldetails.jpg - set row height to the scheduler, looks good in the month view, but in the day view it breaks.
my results needs to be - data must binds properly in day,week and month view fully and whenever i add more records in the DB, the row height of the calender date must be done automatically.
<telerik:RadScheduler runat=
"server"
ID=
"RadScheduler1"
Skin=
"Web20"
CustomAttributeNames=
"StartTime,EndTime,SessionDate,DisplayPermitName,EventStartDate,DisplayClientTypeVisibility,DisplayResourceVisibility,DisplayFacilityVisibility,EventEndDate,ID,DisplayPermitVisibility,DisplayFacilityName,DisplayResourceName,DisplayClientTypeName,Event_ID"
SelectedDate=
"2010-08-10"
DataStartField=
"EventStartDate"
EnableDatePicker=
"true"
GroupingDirection=
"Horizontal"
MonthView-GroupingDirection=
"Horizontal"
DataEndField=
"EventEndDate"
DayStartTime=
"08:00:00"
DayEndTime=
"23:00:00"
ShowFullTime=
"true"
RowHeight=
"60"
SelectedView=
"DayView"
DataKeyField=
"ID"
FirstDayOfWeek=
"Monday"
LastDayOfWeek=
"Friday"
DataSubjectField=
"DisplayPermitName"
EnableEmbeddedSkins=
"false"
AllowDelete=
"false"
AllowEdit=
"false"
TimelineView-NumberOfSlots=
"4"
AllowInsert=
"false"
OnAppointmentDataBound=
"RadScheduler1_AppointmentDataBound"
>
<AdvancedForm Modal=
"true"
/>
<AppointmentTemplate>
<asp:LinkButton runat=
"server"
ID=
"lblDisplayPermitName"
OnClick=
"RedirectToEventMaintenance"
Style=
"font-weight: bold;"
CommandArgument=
'<%# Eval("Event_ID") + "~" + Eval("SessionDate") %>'
Visible=
'<%# Convert.ToBoolean(Eval("DisplayPermitVisibility")) %>'
>
<%# Eval(
"DisplayPermitName"
)%>
</asp:LinkButton><br />
<asp:Label runat=
"server"
ID=
"labelStartTime"
Visible=
"true"
>
<%# Eval(
"StartTime"
)%>
</asp:Label>
<asp:Label runat=
"server"
ID=
"labelEndTime"
Text=
"- "
Visible=
"true"
>
<%# Eval(
"EndTime"
)%>
</asp:Label><br />
<asp:Label runat=
"server"
ID=
"lblDisplayClientTypeName"
Text=
"ClientType Name :"
Visible=
'<%# Convert.ToBoolean(Eval("DisplayClientTypeVisibility")) %>'
>
<%# Eval(
"DisplayClientTypeName"
)%>
</asp:Label><br />
<asp:Label runat=
"server"
ID=
"lblDisplayFacilityName"
Text=
"Facility Type Name :"
Visible=
'<%# Convert.ToBoolean(Eval("DisplayFacilityVisibility")) %>'
>
<%# Eval(
"DisplayFacilityName"
)%>
</asp:Label><br />
<asp:Label runat=
"server"
ID=
"lblDisplayResourceName"
Text=
"Resource Name :"
Visible=
'<%# Convert.ToBoolean(Eval("DisplayResourceVisibility")) %>'
>
<%# Eval(
"DisplayResourceName"
)%>
</asp:Label><br />
</AppointmentTemplate>
</telerik:RadScheduler>
Thanks,
Daniel.B