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

TimeSlotContextMenuItemClicking & Rebind

1 Answer 38 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jean-Yves
Top achievements
Rank 1
Jean-Yves asked on 09 May 2011, 09:51 PM
Hello, 

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

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 13 May 2011, 10:09 AM
Hi Jean-Yves,

Can you open a support ticket and send us a sample of the issue? Normally, calling Rebind() for RadScheduler should do the trick, but I am not sure why this is not happening in your case. It would be best to debug your sample locally.

Kind regards,
Peter
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Scheduler
Asked by
Jean-Yves
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or