Hello,
I'm having a small problem...
In fact, my RadScheduler is parametred like this :
And every thing is working well.
But, when RGPlanning_TimeSlotContextMenuItemClicking is fired, I can't ReBind my RadScheduler... Do you have an idea?
In This methode, in fact I change the categorie of each appointment of the week... That's why I would like to Rebind all my Appointements... (To see visualy the changes...)
Thank you to help me
Jean-Yves
I'm having a small problem...
In fact, my RadScheduler is parametred like this :
<
telerik:RadScheduler
ID
=
"RSPlanning"
runat
=
"server"
DataSourceID
=
"ODSCalendar"
Culture
=
"fr-FR"
DataKeyField
=
"IdCalendar"
DataEndField
=
"DateFin"
DataStartField
=
"DateDebut"
DataSubjectField
=
"Commentaire"
SelectedView
=
"MonthView"
ShowViewTabs
=
"False"
OverflowBehavior
=
"Expand"
FirstDayOfWeek
=
"Monday"
LastDayOfWeek
=
"Saturday"
MonthView-VisibleAppointmentsPerDay
=
"100"
StartEditingInAdvancedForm
=
"False"
CustomAttributeNames
=
"IsValider,IsSaisie,CodeHeure,CodeHeureLibelle,IdAffaire,NumAffaire,LibelleAffaire,Temps,IdUser"
OnFormCreating
=
"RSPlanning_FormCreating"
OnNavigationComplete
=
"RSPlanning_NavigationComplete"
OnTimeSlotCreated
=
"RSPlanning_TimeSlotCreated"
OnTimeSlotContextMenuItemClicking
=
"RGPlanning_TimeSlotContextMenuItemClicking"
>
<
MonthView
VisibleAppointmentsPerDay
=
"100"
></
MonthView
>
<
TimeSlotContextMenus
>
<
telerik:RadSchedulerContextMenu
ID
=
"RSCMTS"
runat
=
"server"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"Valider la semaine"
ImageUrl
=
"http://static.isi.eud.schneider-electric.com/images/famfamfam/accept.png"
/>
<
telerik:RadMenuItem
Text
=
"Dévalider la semaine"
ImageUrl
=
"http://static.isi.eud.schneider-electric.com/images/famfamfam/cross.png"
/>
</
Items
>
</
telerik:RadSchedulerContextMenu
>
</
TimeSlotContextMenus
>
</
telerik:RadScheduler
>
And every thing is working well.
But, when RGPlanning_TimeSlotContextMenuItemClicking is fired, I can't ReBind my RadScheduler... Do you have an idea?
In This methode, in fact I change the categorie of each appointment of the week... That's why I would like to Rebind all my Appointements... (To see visualy the changes...)
Thank you to help me
Jean-Yves