TimeSlotContextMenuItemClicking & Rebind

2 posts, 0 answers
  1. Jean-Yves
    Jean-Yves avatar
    69 posts
    Member since:
    Feb 2009

    Posted 09 May 2011 Link to this post

    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
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 13 May 2011 Link to this post

    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.

Back to Top