Issue on RadScheduler

4 posts, 0 answers
  1. NEMEE
    NEMEE avatar
    10 posts
    Member since:
    Jul 2011

    Posted 29 Aug 2011 Link to this post

    Hi Telerik User,
    I  am going to use RadScheduler following this tutorila link on telerik http://demos.telerik.com/aspnet-ajax/scheduler/examples/customization/defaultcs.aspx  and http://www.telerik.com/help/aspnet-ajax/scheduler-getting-started.html
    but there is not enough info about in implementation . When edit Appointment its open window but there are Date filed and Dropdown not editable seems no action and Save ,Close button also not working Please help me,
    Here is  the Code 

     <telerik:RadScheduler runat="server" ID="RadScheduler1" Width="100%" DayStartTime="08:00:00"
                                                DayEndTime="18:00:00" TimeZoneOffset="03:00:00" EnableDescriptionField="true" ShowFullTime ="true"
                                                AdvancedForm-EnableCustomAttributeEditing="true" AdvancedForm-EnableResourceEditing="true"
                                                DataKeyField="ID" DataSubjectField="Message_Subject" DataDescriptionField="Message_Body"
                                                DataStartField="Event_Start_Date" DataEndField="Event_End_Date" Height="500"
                                                OnAppointmentDelete="RadScheduler1_AppointmentDelete"              OnAppointmentUpdate="RadScheduler1_AppointmentUpdate"
                                                OnAppointmentInsert="RadScheduler1_AppointmentInsert">
                                                <AdvancedForm Modal="true" Width="400" />
                                                <Localization AdvancedAllDayEvent="All day"></Localization>
                                                <TimelineView UserSelectable="false" />
                                                <TimeSlotContextMenuSettings EnableDefault="true" />
                                                <AppointmentContextMenuSettings EnableDefault="true" />
                                                <Reminders Enabled="true" />
                                                <ResourceStyles>
                                                    <telerik:ResourceStyleMapping Type="Calendar" Text="ROWNA Team" ApplyCssClass="rsCategoryPattern"
                                                        BorderColor="#B0CC9B" />
                                                    <telerik:ResourceStyleMapping Type="Calendar" Text="My Schedule" ApplyCssClass="rsCategoryRed" />
                                                </ResourceStyles>
                                            </telerik:RadScheduler>
    Error
    System.InvalidOperationException: A control with ID '_scheduler$RadCalendar1' could not be found for the trigger in UpdatePanel '_scheduler$RadCalendar2Panel'.
       at System.Web.UI.UpdatePanelControlTrigger.FindTargetControl(Boolean searchNamingContainers)
       at System.Web.UI.AsyncPostBackTrigger.Initialize()
       at System.Web.UI.UpdatePanelTriggerCollection.Initialize()
       at System.Web.UI.UpdatePanel.Initialize()
       at System.Web.UI.UpdatePanel.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.AddedControl(Control control, Int32 index)
       at System.Web.UI.ControlCollection.Add(Control child)
       at Telerik.Web.UI.RadAjaxControl.CreateUpdatePanel(Control initiator, String eventName, Control updated, UpdatePanelRenderMode panelRenderMode, Unit panelHeight)
       at Telerik.Web.UI.RadAjaxControl.OnPagePreRender(Object sender, EventArgs e)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at System.Web.UI.Control.OnPreRender(EventArgs e)
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</td></tr></Table>

  2. Jayesh Goyani
    Jayesh Goyani avatar
    2733 posts
    Member since:
    May 2010

    Posted 30 Aug 2011 Link to this post

    Hello,

    Are  you putting you scheduler control in Asp:UpdatePanle ?

    Thanks,
    Jayesh Goyani
  3. NEMEE
    NEMEE avatar
    10 posts
    Member since:
    Jul 2011

    Posted 30 Aug 2011 Link to this post

    Not I am not putting this inside asp:updatePanel
    here is my ascx page structure

          <script type="text/javascript">
               /* Firefox resize scrollable content */
         function hideScrollableArea(sender, eventArgs) {
         if ($telerik.isFirefox)
         $telerik.$('.rsContentScrollArea').css('overflow', 'hidden');
         }
         function showScrollableArea(sender, eventArgs) {
         if ($telerik.isFirefox)
             $telerik.$('.rsContentScrollArea').css('overflow', 'auto');
         }
        
            </script>

            <telerik:RadAjaxManager runat="Server" ID="RadAjaxManager1">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="RadCalendar1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadCalendar2" />
                            <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                    <telerik:AjaxSetting AjaxControlID="RadCalendar2">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadCalendar1" />
                            <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                    <telerik:AjaxSetting AjaxControlID="chkDevelopment">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                    <telerik:AjaxSetting AjaxControlID="chkMarketing">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                    <telerik:AjaxSetting AjaxControlID="chkQ1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                    <telerik:AjaxSetting AjaxControlID="chkQ2">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                    <telerik:AjaxSetting AjaxControlID="RadScheduler1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>
            <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Windows7" />
            <div class="example-panel exampleContainer">
                <telerik:RadSplitter runat="server" ID="RadSplitter1" PanesBorderSize="0" Width="870px"
                    Height="552px" Skin="Windows7">
                    <telerik:RadPane runat="Server" ID="leftPane" Width="230px" MinWidth="230" MaxWidth="300"
                        Scrolling="None" OnClientResizing="hideScrollableArea" OnClientResized="showScrollableArea"
                        OnClientExpanding="hideScrollableArea" OnClientExpanded="showScrollableArea"
                        OnClientCollapsing="hideScrollableArea" OnClientCollapsed="showScrollableArea">
                        <div class="calendar-title">Calendar</div>
                        <div class="calendar-container">
                            <telerik:RadCalendar runat="server" ID="RadCalendar1" Skin="Windows7" AutoPostBack="true"
                                EnableMultiSelect="false" DayNameFormat="FirstTwoLetters" EnableNavigation="true"
                                EnableMonthYearFastNavigation="false" OnSelectionChanged="RadCalendar1_SelectionChanged"
                                OnDefaultViewChanged="RadCalendar1_DefaultViewChanged">
                            </telerik:RadCalendar>
                            <telerik:RadCalendar runat="server" ID="RadCalendar2" Skin="Windows7" AutoPostBack="true"
                                EnableMultiSelect="false" DayNameFormat="FirstTwoLetters" EnableNavigation="false"
                                EnableMonthYearFastNavigation="false" OnSelectionChanged="RadCalendar2_SelectionChanged">
                            </telerik:RadCalendar>
                        </div>
                        <telerik:RadPanelBar runat="server" Skin="Windows7" ID="PanelBar" Width="100%">
                            <Items>
                                <telerik:RadPanelItem runat="server" Text="My Team Calendars" Expanded="true">
                                    <Items>
                                        <telerik:RadPanelItem runat="server">
                                            <ItemTemplate>
                                                <div class="rpCheckBoxPanel">
                                                    <div>
    <asp:CheckBox ID="chkDevelopment" runat="server" Text="Development" Checked="true"
    AutoPostBack="true" OnCheckedChanged="CheckBoxes_CheckedChanged" />

                                                    </div>
                                                    <div>
    <asp:CheckBox ID="chkMarketing" runat="server" Text="Marketing" Checked="true" AutoPostBack="true"
    OnCheckedChanged="CheckBoxes_CheckedChanged" />

                                                    </div>
                                                </div>
                                            </ItemTemplate>
                                        </telerik:RadPanelItem>
                                    </Items>
                                </telerik:RadPanelItem>
                                <telerik:RadPanelItem runat="server" Text="My Calendar" Expanded="true">
                                    <Items>
                                        <telerik:RadPanelItem runat="server">
                                            <ItemTemplate>
                                                <div class="rpCheckBoxPanel">
                                                    <div>
    <asp:CheckBox ID="chkQ1" runat="server" Text="Personal" Checked="true" AutoPostBack="true"
    OnCheckedChanged="CheckBoxes_CheckedChanged" />

                                                    </div>
                                                    <div>
    <asp:CheckBox ID="chkQ2" runat="server" Text="Work" Checked="true" AutoPostBack="true"
    OnCheckedChanged="CheckBoxes_CheckedChanged" />

                                                    </div>
                                                </div>
                                            </ItemTemplate>
                                        </telerik:RadPanelItem>
                                    </Items>
                                </telerik:RadPanelItem>
                            </Items>
                        </telerik:RadPanelBar>
                    </telerik:RadPane>
                    <telerik:RadSplitBar runat="server" ID="RadSplitBar2" CollapseMode="Forward" />
                    <telerik:RadPane runat="Server" ID="rightPane" Scrolling="None" Width="625px">
                        
    <telerik:RadScheduler runat="server" ID="RadScheduler1" Width="100%" DayStartTime="08:00:00"
                                                DayEndTime="18:00:00" TimeZoneOffset="03:00:00" EnableDescriptionField="true" ShowFullTime ="true"
                                                AdvancedForm-EnableCustomAttributeEditing="true" AdvancedForm-EnableResourceEditing="true"
                                                DataKeyField="ID" DataSubjectField="Message_Subject" DataDescriptionField="Message_Body"
                                                DataStartField="Event_Start_Date" DataEndField="Event_End_Date" Height="500"
                                                OnAppointmentDelete="RadScheduler1_AppointmentDelete"              OnAppointmentUpdate="RadScheduler1_AppointmentUpdate"
                                                OnAppointmentInsert="RadScheduler1_AppointmentInsert">
                                                <AdvancedForm Modal="true" Width="400" />
                                                <Localization AdvancedAllDayEvent="All day"></Localization>
                                                <TimelineView UserSelectable="false" />
                                                <TimeSlotContextMenuSettings EnableDefault="true" />
                                                <AppointmentContextMenuSettings EnableDefault="true" />
                                                <Reminders Enabled="true" />
                                                <ResourceStyles>
                                                    <telerik:ResourceStyleMapping Type="Calendar" Text="ROWNA Team" ApplyCssClass="rsCategoryPattern"
                                                        BorderColor="#B0CC9B" />
                                                    <telerik:ResourceStyleMapping Type="Calendar" Text="My Schedule" ApplyCssClass="rsCategoryRed" />
                                                </ResourceStyles>
                                            </telerik:RadScheduler>
                    </telerik:RadPane>
                </telerik:RadSplitter>
            </div>
          

  4. NEMEE
    NEMEE avatar
    10 posts
    Member since:
    Jul 2011

    Posted 01 Sep 2011 Link to this post

    Hi Telerik Team Any update on my Post,
    I am tring to user Tooltip as following Demo http://demos.telerik.com/aspnet-ajax/scheduler/examples/radtooltip/defaultvb.aspx in Scheduler but getting nothing in that .
Back to Top