AdvancedformVB issue

31 posts, 0 answers
  1. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 09 Aug 2012 Link to this post

    I have merged the AdvancedFormVB into my current project.  However, when i try to edit the oppointment I receive an error:Sys.WebForms.PageRequestManagerServerErrorException: Telerik.Web.UI.DatePickingInput with ID='dateInput' was unable to find an embedded skin with the name 'Macys'.
    Please refered to the attached file.
    My AdvancedformVB and scheduler pages are as folloows:

    <%@ Control Language="VB" AutoEventWireup="true" CodeFile="AdvancedFormVB.ascx.vb"
     Inherits="SchedulerTemplatesVB.AdvancedForm" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <%@ Register TagPrefix="scheduler" TagName="ResourceControl" Src="ResourceControlVB.ascx" %>
    <%@ Register TagPrefix="scheduler" TagName="MultipleValuesResourceControl" Src="MultipleValuesResourceControlVB.ascx" %>

    <link href="App_Themes/Default/Scheduler.Macys.css" rel="stylesheet"
            type="text/css" />
    <link href="App_Themes/Default/Calendar.Macys.css" rel="stylesheet"
            type="text/css" />

    <div class="rsAdvancedEdit rsAdvancedModal" style="position: relative">
     <div class="rsModalBgTopLeft">
     </div>
     <div class="rsModalBgTopRight">
     </div>
     <div class="rsModalBgBottomLeft">
     </div>
     <div class="rsModalBgBottomRight">
     </div>
     <%-- Title bar. --%>
     <div class="rsAdvTitle">
      <%-- The rsAdvInnerTitle element is used as a drag handle when the form is modal. --%>
      <h1 class="rsAdvInnerTitle">
       <%= If((Me.Mode.ToString() = "Edit"), Owner.Localization.AdvancedEditAppointment, Owner.Localization.AdvancedNewAppointment)
       %></h1>
      <asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose"
       CommandName="Cancel" CausesValidation="false" ToolTip='<%# Owner.Localization.AdvancedClose %>'>
       <%= Owner.Localization.AdvancedClose %>
      </asp:LinkButton>
     </div>
     <div class="rsAdvContentWrapper">
      <%-- Scroll container - when the form height exceeds MaximumHeight scrollbars will appear on this element--%>
      <div class="rsAdvOptionsScroll">
       <asp:Panel runat="server" ID="AdvancedEditOptionsPanel" CssClass="rsAdvOptions">
        <asp:Panel runat="server" ID="BasicControlsPanel" CssClass="rsAdvBasicControls" OnDataBinding="BasicControlsPanel_DataBinding">
         <telerik:RadTextBox runat="server" ID="SubjectText" Width="100%" Label='<%# Owner.Localization.AdvancedSubject + ":" %>'
          EnableSingleInputRendering="false" />
         <asp:RequiredFieldValidator runat="server" ID="SubjectValidator" ControlToValidate="SubjectText"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <ul class="rsTimePickers">
          <li class="rsTimePick" style="width: 244px;">
           <label for='<%= StartDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedFrom %></label><%--
               Leaving a newline here will affect the layout, so we use a comment instead.
            --%><telerik:RadDatePicker runat="server" ID="StartDate" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput2" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="StartTime" CssClass="rsAdvTimePicker"
            Width="65px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput3" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView1" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
          <li class="rsTimeZonesWrapper">
           <telerik:RadComboBox runat="server" Visible="true" ID="TimeZonesDropDown" Width="230"
            Label="<%# Owner.Localization.AdvancedTimeZone %>" Skin='<%# Owner.Skin %>'>
           </telerik:RadComboBox>
          </li>
          <li class="rsAllDayWrapper">
           <asp:CheckBox runat="server" ID="AllDayEvent" CssClass="rsAdvChkWrap" Checked="false" />
          </li>
          <li class="rsTimePick rsEndTimePick" style="width: 244px;">
           <label for='<%= EndDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedTo%></label><%--
           
            --%><telerik:RadDatePicker runat="server" ID="EndDate" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput4" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="EndTime" CssClass="rsAdvTimePicker"
            Width="65px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput5" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView2" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
         </ul>
         <div class="rsReminderWrapper">
          <telerik:RadComboBox runat="server" ID="ReminderDropDown" Width="120px" Skin='<%# Owner.Skin %>'
           Label="<%# Owner.Localization.Reminder %>">
           <Items>
            <telerik:RadComboBoxItem Text='<%# Owner.Localization.ReminderNone %>' Value="" />
            <telerik:RadComboBoxItem Text='<%# "0 " + Owner.Localization.ReminderMinutes %>'
             Value="0" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderMinutes %>'
             Value="5" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderMinutes %>'
             Value="10" />
            <telerik:RadComboBoxItem Text='<%# "15 " + Owner.Localization.ReminderMinutes %>'
             Value="15" />
            <telerik:RadComboBoxItem Text='<%# "30 " + Owner.Localization.ReminderMinutes %>'
             Value="30" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderHour %>' Value="60" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderHours %>' Value="120" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderHours %>' Value="180" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderHours %>' Value="240" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderHours %>' Value="300" />
            <telerik:RadComboBoxItem Text='<%# "6 " + Owner.Localization.ReminderHours %>' Value="360" />
            <telerik:RadComboBoxItem Text='<%# "7 " + Owner.Localization.ReminderHours %>' Value="420" />
            <telerik:RadComboBoxItem Text='<%# "8 " + Owner.Localization.ReminderHours %>' Value="480" />
            <telerik:RadComboBoxItem Text='<%# "9 " + Owner.Localization.ReminderHours %>' Value="540" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderHours %>' Value="600" />
            <telerik:RadComboBoxItem Text='<%# "11 " + Owner.Localization.ReminderHours %>' Value="660" />
            <telerik:RadComboBoxItem Text='<%# "12 " + Owner.Localization.ReminderHours %>' Value="720" />
            <telerik:RadComboBoxItem Text='<%# "18 " + Owner.Localization.ReminderHours %>' Value="1080" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderDays %>' Value="1440" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderDays %>' Value="2880" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderDays %>' Value="4320" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderDays %>' Value="5760" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderWeek %>' Value="10080" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderWeeks %>' Value="20160" />
           </Items>
          </telerik:RadComboBox>
         </div>
         <asp:RequiredFieldValidator runat="server" ID="StartDateValidator" ControlToValidate="StartDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="StartTimeValidator" ControlToValidate="StartTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="EndDateValidator" ControlToValidate="EndDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="EndTimeValidator" ControlToValidate="EndTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:CustomValidator runat="server" ID="DurationValidator" ControlToValidate="StartDate"
          EnableClientScript="false" Display="Dynamic" CssClass="rsValidatorMsg rsInvalid"
          OnServerValidate="DurationValidator_OnServerValidate" />
        </asp:Panel>
        <asp:Panel runat="server" ID="AdvancedControlsPanel" CssClass="rsAdvMoreControls">
         <label>
          Color:
         </label>
         <!--
    -->
         <telerik:RadColorPicker ID="AppointmentColorPicker" runat="server" CssClass="rsAdvResourceValue"
          ShowIcon="true" PaletteModes="WebPalette">
         </telerik:RadColorPicker>
         <asp:Panel runat="server" ID="ResourceControls">
          <%-- RESOURCE CONTROLS --%>
          <ul class="rsResourceControls">
           <li>
            <!-- Resource controls should follow the convention Res[Resource Name] for ID -->
            <scheduler:ResourceControl runat="server" ID="ResRoom" Type="Room" Label="Room:"
             Skin='<%# Owner.Skin %>' />
           </li>
           <li>
            <scheduler:MultipleValuesResourceControl runat="server" ID="ResUser" Type="User"
             Label="User: " />
           </li>
           <!-- Optionally add more ResourceControl instances here -->
          </ul>
         </asp:Panel>
        </asp:Panel>
        <telerik:RadTextBox runat="server" ID="DescriptionText" TextMode="MultiLine" Columns="50"
         Rows="5" Width="100%" Label='<%# Owner.Localization.AdvancedDescription + ":" %>'
         Text='<%# Eval("Description") %>' EnableSingleInputRendering="false" />
        <span class="rsAdvResetExceptions">
         <asp:LinkButton runat="server" ID="ResetExceptions" OnClick="ResetExceptions_OnClick" />
        </span>
        <telerik:RadSchedulerRecurrenceEditor runat="server" ID="AppointmentRecurrenceEditor" />
        <asp:HiddenField runat="server" ID="OriginalRecurrenceRule" />
        <telerik:RadCalendar runat="server" ID="SharedCalendar" Skin='<%# Owner.Skin %>'
         CultureInfo='<%# Owner.Culture %>' ShowRowHeaders="false" RangeMinDate="1900-01-01" />
       </asp:Panel>
      </div>
      <asp:Panel runat="server" ID="ButtonsPanel" CssClass="rsAdvancedSubmitArea">
       <div class="rsAdvButtonWrapper">
        <asp:LinkButton runat="server" ID="UpdateButton" CssClass="rsAdvEditSave">
         <span><%= Owner.Localization.Save %></span>
        </asp:LinkButton>
        <asp:LinkButton runat="server" ID="CancelButton" CssClass="rsAdvEditCancel" CommandName="Cancel"
         CausesValidation="false">
         <span><%= Owner.Localization.Cancel %></span>
        </asp:LinkButton>
       </div>
      </asp:Panel>
     </div>
    </div>
    ____________________________________________________________________________________________
    Here is my scheduler page:

    <%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/AvailabilityLinksSubMaster.master" CodeBehind="MyAvailability.aspx.vb" Inherits="MSP.MyAvailability" %>
    <%@ MasterType virtualpath="~/AvailabilityLinksSubMaster.master" %>
    <%@ Register assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI.DataVisualization.Charting" tagprefix="asp" %>
    <%@ Register namespace="Telerik.Web.UI" tagprefix="UI" %>
    <%@ Register TagPrefix="scheduler" TagName="AdvancedForm" Src="AdvancedFormVB.ascx" %>

    <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
        <style type="text/css">
            div.RadScheduler .rcOtherMonth
            {
               
               
            }
            div.RadScheduler .rsAllDayHeader,
            div.RadScheduler .rsVerticalHeaderTable div
            {
            font-weight: bold;
            text-align: right;
            }
     
            .rsApt
            {
            width: 45%!important;
           
            }
            .rsAllDayRow .rsWrap
            {
             display:none !important;
            }
            div.RadToolTip table.rtWrapper td.rtWrapperContent
            {
                background-color:none !important;
                background-image: url("../Images/Menu_Bkgrd_Normal2.png") !important;
            }

            .ScreenOnly {display : none;}
        </style>
       
        <link href="App_Themes/Default/Scheduler.Macys.css" rel="stylesheet"
            type="text/css" />
        <link href="App_Themes/Default/Calendar.Macys.css" rel="stylesheet"
            type="text/css" />
       
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="TabContent" runat="server">
        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
      <script type="text/javascript">
                function TimeRangeOnclick() {
              
         var scheduler = $find('<%=RadScheduler1.ClientID %>');
       
       
        var appointment = scheduler.get_appointments().findByID(59);
        scheduler.editAppointmentWithConfirmation(appointment);
    };
          function hideActiveToolTip()
                {
              var tooltip = Telerik.Web.UI.RadToolTip.getCurrent();
              if (tooltip)
                    {
                  tooltip.hide();
              }
          }

          Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(beginRequestHandler);
          function beginRequestHandler(sender, args)
                {
              var prm = Sys.WebForms.PageRequestManager.getInstance();
              if (args.get_postBackElement().id.indexOf('RadScheduler1') != -1)
                    {
                  hideActiveToolTip();
              }
          }

          function OnClientRequestStart(sender, args)
                {
              args.set_cancel(true);
              var tooltip = Telerik.Web.UI.RadToolTip.getCurrent();
              if (tooltip)
                    {
                  var element = tooltip.get_targetControl();
                  var apt = $find("<%=RadScheduler1.ClientID %>").getAppointmentFromDomElement(element);
                        <%--
                  $get("startTime").innerHTML = apt.get_start().format("MM/dd/yyyy HH:mm");
                  $get("endTime").innerHTML = apt.get_end().format("MM/dd/yyyy HH:mm");
                        --%>
                  $get("descriptionDiv").innerHTML = "double click to edit your preference";
                  tooltip.set_text($get("contentContainer").innerHTML);
              }
          }

      </script>
     </telerik:RadCodeBlock>                       
     
           
        <!-- Start Header -->
    <!-- End Header -->
       
                        <table cellpadding="0" cellspacing="0" class="style5" cols="1" width="100%">
                            <tr>
                                <td valign="top">
      <!-- Top Menu -->
      
      <!-- End Top Menu -->
      <!-- Start Workspace --> 
                              <div id="Workspace" align="left" class="style6">
                                        <div id="PrintViewHeader" style="display: none;">
                                            <table border="0" cellpadding="1" cellspacing="1" cols="2" width="98%">
                                                <tbody class="SiteTextSmall">
                                                    <tr>
                                                        <td align="center" class="PageHeading">
                                                            Availability</td>
                                                    </tr>
                                                    <tr class="ScreenOnly">
                                                        <td align="left">
                                                            <span class="SiteTextboldRed">For best results, change your printer setting to
                                                            landscape. </span>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </div>
       
       

        <!-- Schedule option -->
                            <table border="0" cellpadding="1" cellspacing="1" cols="1" width="98%">
                                            <tbody class="SiteTextSmall">
                                                <tr>
                                              
                                                    <td colspan="1" rowspan="1">
                                                        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Width="100%">
                                                            <table id="tblAdvancedSearch">
                                                                <tr>
                                                                    <td>
                                                                        <p align="center" dir="rtl" style="font-weight: bold">Schedule Option<br />
                                                                        <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True"
                                                                                Font-Bold="True" Font-Size="Smaller">
                                                                                <asp:ListItem>Full Time 30 to 40 hours</asp:ListItem>
                                                                                <asp:ListItem>Part Time 15 to 25 hours</asp:ListItem>
                                                                            </asp:DropDownList>
                                                                        </p>
                                                                        <p align="center">  Select a Schedule Option for assigned hours<br />(balance of
                                                                            weekly hours self selected):</p>
                                                                    </td>

                                                                    <td>
                                                                       
                                                                       
                                                                        <asp:BulletedList ID="BulletedList1" runat="server">
                                                                            <asp:ListItem>Max number of weekday mornings off is 1</asp:ListItem>
                                                                            <asp:ListItem>Max number of weekday evenings off is 1</asp:ListItem>
                                                                            <asp:ListItem>Max number of days off per week is 2</asp:ListItem>
                                                                        </asp:BulletedList>
                                                                       
                                                                       
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                       
                                                  
                                                       
                                                        <telerik:RadScheduler ID="RadScheduler1" runat="server" DayEndTime="23:59:59"
                                                            RowHeight="16px" SelectedView="WeekView"
                                                            WorkDayEndTime="8.00:00:00" WorkDayStartTime="00:00:00"
                                                            AllowDelete="False"
                                                            NumberOfHoveredRows="1" SelectedDate="2012-06-10"
                                                            EnableExactTimeRendering="True" Height="460px"
                                                            EnableEmbeddedSkins="False" Skin="Macys"
                                                            onclientappointmentcontextmenu="hideActiveToolTip"
                                                            onclientappointmentdoubleclick="hideActiveToolTip"
                                                            onclientrecurrenceactiondialogshowing="hideActiveToolTip"
                                                                OverflowBehavior="Expand">
                                                            <AdvancedForm Width="60%" Modal="True" />
                                                            <AdvancedEditTemplate>
                     <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm1" Mode="Edit"
                         Subject='<%# Bind("Subject") %>'
                         Description='<%# Bind("Description") %>'
                         Start='<%# Bind("Start") %>'
                         End='<%# Bind("End") %>'
                         RecurrenceRuleText='<%# Bind("RecurrenceRule") %>'
                            Reminder='<%# Bind("Reminder") %>'
                         UserID='<%# Bind("User") %>'
                         RoomID='<%# Bind("Room") %>'
                            TimeZoneID='<%# Bind("TimeZoneID") %>' />
                 </AdvancedEditTemplate>
                 <AdvancedInsertTemplate>
                     <scheduler:AdvancedForm runat="server" ID="AdvancedInsertForm1" Mode="Insert"
                         Subject='<%# Bind("Subject") %>'
                         Start='<%# Bind("Start") %>'
                         End='<%# Bind("End") %>'
                         Description='<%# Bind("Description") %>'
                         RecurrenceRuleText='<%# Bind("RecurrenceRule") %>'
                            Reminder='<%# Bind("Reminder") %>'
                         UserID='<%# Bind("User") %>'
                         RoomID='<%# Bind("Room") %>'
                            TimeZoneID='<%# Bind("TimeZoneID") %>' />
                 </AdvancedInsertTemplate>

                                                            <ResourceTypes>
                                                            <telerik:ResourceType DataSourceID="SqlDataSource2" ForeignKeyField="USERID"
                                                            KeyField="ID" Name="Users" TextField="USERNAME" />
                                                            </ResourceTypes>
                                                            <TimelineView UserSelectable="False" />
                                                            <WeekView DayEndTime="23:59:59" ColumnHeaderDateFormat="dddd, d"
                                                                GroupingDirection="Vertical" />
                                                            <Localization AdvancedEditAppointment="Edit" AdvancedNewAppointment="New"
                                                                AllDay="Range" />
                                                            <MonthView FirstDayHeaderDateFormat="MMMM dd" ColumnHeaderDateFormat="MMMM dddd"
                                                                HeaderDateFormat="MMMM, yyyy" />
                                                        </telerik:RadScheduler>
                                                       
                                                        <div align="center">                                                   
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
                                                            </div>
                                                           
    <%--                                                        &nbsp;<asp:SqlDataSource
                                                           
                                                            ID="SqlDataSource1" runat="server"
                                                            ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
                                                            DeleteCommand="DELETE FROM &quot;AVAILABILITY_TEST&quot; WHERE &quot;ID&quot; = :ID"
                                                            InsertCommand="INSERT INTO &quot;AVAILABILITY_TEST&quot; (&quot;ID&quot;, &quot;SUBJECT&quot;, &quot;START_TIME&quot;, &quot;END_TIME&quot;, &quot;USERID&quot;, &quot;RECURRENCERULE&quot;, &quot;RECURRENCEPARENTID&quot;) VALUES (:ID, :SUBJECT, :START_TIME, :END_TIME, :USERID, :RECURRENCERULE, :RECURRENCEPARENTID)"
                                                            ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
                                                            SelectCommand="SELECT * FROM &quot;AVAILABILITY_TEST&quot;"
                                                            UpdateCommand="UPDATE &quot;AVAILABILITY_TEST&quot; SET &quot;SUBJECT&quot; = :SUBJECT, &quot;START_TIME&quot; = :START_TIME, &quot;END_TIME&quot; = :END_TIME, &quot;USERID&quot; = :USERID, &quot;RECURRENCERULE&quot; = :RECURRENCERULE, &quot;RECURRENCEPARENTID&quot; = :RECURRENCEPARENTID WHERE &quot;ID&quot; = :ID">
                                                            <DeleteParameters>
                                                                <asp:Parameter Name="ID" Type="Decimal" />
                                                            </DeleteParameters>
                                                            <InsertParameters>
                                                                <asp:Parameter Name="ID" Type="Decimal" />
                                                                <asp:Parameter Name="SUBJECT" Type="String" />
                                                                <asp:Parameter Name="START_TIME" Type="DateTime" />
                                                                <asp:Parameter Name="END_TIME" Type="DateTime" />
                                                                <asp:Parameter Name="USERID" Type="Decimal" />
                                                                <asp:Parameter Name="RECURRENCERULE" Type="String" />
                                                                <asp:Parameter Name="RECURRENCEPARENTID" Type="Decimal" />
                                                            </InsertParameters>
                                                            <UpdateParameters>
                                                                <asp:Parameter Name="SUBJECT" Type="String" />
                                                                <asp:Parameter Name="START_TIME" Type="DateTime" />
                                                                <asp:Parameter Name="END_TIME" Type="DateTime" />
                                                                <asp:Parameter Name="USERID" Type="Decimal" />
                                                                <asp:Parameter Name="RECURRENCERULE" Type="String" />
                                                                <asp:Parameter Name="RECURRENCEPARENTID" Type="Decimal" />
                                                                <asp:Parameter Name="ID" Type="Decimal" />
                                                            </UpdateParameters>
                                                        </asp:SqlDataSource><asp:SqlDataSource
                                                            ID="SqlDataSource2" runat="server"
                                                            ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
                                                            ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
                                                            SelectCommand="SELECT &quot;ID&quot;, &quot;USERNAME&quot; FROM &quot;AVAILABILITY_TEST_USERS&quot;">
                                                        </asp:SqlDataSource>--%>
                                                       
                        
                                                        <telerik:RadToolTipManager runat="server" ID="RadToolTipManager1" Width="130"
                                                                Height="40" Skin = ""
                                                                OnAjaxUpdate="RadToolTipManager1_AjaxUpdate" />
                                                        <div style="display: none;">
                                                            <div id="contentContainer">
                                                            <%--
                                                                Starts on: <span id="startTime"></span>
                                                                <br />
                                                                Ends on: <span id="endTime"></span>
                                                                <hr />
                       
                                                                Description:
                                                            --%>
                                                                <div id="descriptionDiv">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        </telerik:RadAjaxPanel>
                                                      </td>
                                                </tr>
                                               
                                            </tbody>
                                        </table>
        
        <!-- Permanent availability -->
                           
                                    </div>
                                </td>
                            </tr>
                        </table>
      <!-- End Workspace -->    
     
    </asp:Content>

  2. Plamen
    Admin
    Plamen avatar
    2967 posts

    Posted 14 Aug 2012 Link to this post

    Hello Allen,

    You can refer to this help article where similar issue have been described.

    hope this will be helpful.

    Kind regards,
    Plamen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 15 Aug 2012 Link to this post

    For simplification i have changed it to default skin ("Sunset),  I fixed the error.
    However, the Datepicker and Time picker are not working.  When I click it the calender is not showing.  Please refer to the screen print.
    Here is my AdvancedFormVB:
    <%@ Control Language="VB" AutoEventWireup="true" CodeFile="AdvancedFormVB.ascx.vb"
     Inherits="SchedulerTemplatesVB.AdvancedForm" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <%@ Register TagPrefix="scheduler" TagName="ResourceControl" Src="ResourceControlVB.ascx" %>
    <%@ Register TagPrefix="scheduler" TagName="MultipleValuesResourceControl" Src="MultipleValuesResourceControlVB.ascx" %>
    <%--
        <link href="App_Themes/Default/Scheduler.Macys.css" rel="stylesheet"
            type="text/css" />
        <link href="App_Themes/Default/Calendar.Macys.css" rel="stylesheet"
            type="text/css" />
        --%>
    <div class="rsAdvancedEdit rsAdvancedModal" style="position: relative">
     <div class="rsModalBgTopLeft">
     </div>
     <div class="rsModalBgTopRight">
     </div>
     <div class="rsModalBgBottomLeft">
     </div>
     <div class="rsModalBgBottomRight">
     </div>
        <%-- Title bar. --%>
     <div class="rsAdvTitle">
            <%-- The rsAdvInnerTitle element is used as a drag handle when the form is modal. --%>
      <h1 class="rsAdvInnerTitle">
       <%= If((Me.Mode.ToString() = "Edit"), Owner.Localization.AdvancedEditAppointment, Owner.Localization.AdvancedNewAppointment)
       %></h1>
      <asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose"
       CommandName="Cancel" CausesValidation="false" ToolTip='<%# Owner.Localization.AdvancedClose %>'>
       <%= Owner.Localization.AdvancedClose %>
      </asp:LinkButton>
     </div>
       
     <div class="rsAdvContentWrapper">
            <%-- Scroll container - when the form height exceeds MaximumHeight scrollbars will appear on this element--%>
      <div class="rsAdvOptionsScroll">
       <asp:Panel runat="server" ID="AdvancedEditOptionsPanel" CssClass="rsAdvOptions">
        <asp:Panel runat="server" ID="BasicControlsPanel" CssClass="rsAdvBasicControls" OnDataBinding="BasicControlsPanel_DataBinding">
         <telerik:RadTextBox runat="server" ID="SubjectText" Width="100%" Label='<%# Owner.Localization.AdvancedSubject + ":" %>'
          EnableSingleInputRendering="false" />
         <asp:RequiredFieldValidator runat="server" ID="SubjectValidator" ControlToValidate="SubjectText"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <ul class="rsTimePickers">
          <li class="rsTimePick" style="width: 244px;">
           <label for='<%= StartDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedFrom %></label><%--
               Leaving a newline here will affect the layout, so we use a comment instead.
            --%><telerik:RadDatePicker runat="server" ID="StartDate" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput2" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="StartTime" CssClass="rsAdvTimePicker"
            Width="65px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput3" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView1" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
          <li class="rsTimeZonesWrapper">
           <telerik:RadComboBox runat="server" Visible="true" ID="TimeZonesDropDown" Width="230"
            Label="<%# Owner.Localization.AdvancedTimeZone %>" Skin='<%# Owner.Skin %>'>
           </telerik:RadComboBox>
          </li>
          <li class="rsAllDayWrapper">
           <asp:CheckBox runat="server" ID="AllDayEvent" CssClass="rsAdvChkWrap" Checked="false" />
          </li>
          <li class="rsTimePick rsEndTimePick" style="width: 244px;">
           <label for='<%= EndDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedTo%></label><%--
           
            --%><telerik:RadDatePicker runat="server" ID="EndDate" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput4" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="EndTime" CssClass="rsAdvTimePicker"
            Width="65px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput5" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView2" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
         </ul>
         <div class="rsReminderWrapper">
          <telerik:RadComboBox runat="server" ID="ReminderDropDown" Width="120px" Skin='<%# Owner.Skin %>'
           Label="<%# Owner.Localization.Reminder %>">
           <Items>
            <telerik:RadComboBoxItem Text='<%# Owner.Localization.ReminderNone %>' Value="" />
            <telerik:RadComboBoxItem Text='<%# "0 " + Owner.Localization.ReminderMinutes %>'
             Value="0" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderMinutes %>'
             Value="5" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderMinutes %>'
             Value="10" />
            <telerik:RadComboBoxItem Text='<%# "15 " + Owner.Localization.ReminderMinutes %>'
             Value="15" />
            <telerik:RadComboBoxItem Text='<%# "30 " + Owner.Localization.ReminderMinutes %>'
             Value="30" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderHour %>' Value="60" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderHours %>' Value="120" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderHours %>' Value="180" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderHours %>' Value="240" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderHours %>' Value="300" />
            <telerik:RadComboBoxItem Text='<%# "6 " + Owner.Localization.ReminderHours %>' Value="360" />
            <telerik:RadComboBoxItem Text='<%# "7 " + Owner.Localization.ReminderHours %>' Value="420" />
            <telerik:RadComboBoxItem Text='<%# "8 " + Owner.Localization.ReminderHours %>' Value="480" />
            <telerik:RadComboBoxItem Text='<%# "9 " + Owner.Localization.ReminderHours %>' Value="540" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderHours %>' Value="600" />
            <telerik:RadComboBoxItem Text='<%# "11 " + Owner.Localization.ReminderHours %>' Value="660" />
            <telerik:RadComboBoxItem Text='<%# "12 " + Owner.Localization.ReminderHours %>' Value="720" />
            <telerik:RadComboBoxItem Text='<%# "18 " + Owner.Localization.ReminderHours %>' Value="1080" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderDays %>' Value="1440" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderDays %>' Value="2880" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderDays %>' Value="4320" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderDays %>' Value="5760" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderWeek %>' Value="10080" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderWeeks %>' Value="20160" />
           </Items>
          </telerik:RadComboBox>
         </div>
         <asp:RequiredFieldValidator runat="server" ID="StartDateValidator" ControlToValidate="StartDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="StartTimeValidator" ControlToValidate="StartTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="EndDateValidator" ControlToValidate="EndDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="EndTimeValidator" ControlToValidate="EndTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:CustomValidator runat="server" ID="DurationValidator" ControlToValidate="StartDate"
          EnableClientScript="false" Display="Dynamic" CssClass="rsValidatorMsg rsInvalid"
          OnServerValidate="DurationValidator_OnServerValidate" />
        </asp:Panel>
        <asp:Panel runat="server" ID="AdvancedControlsPanel" CssClass="rsAdvMoreControls">
         <label>
          Color:
         </label>
         <!--
    -->
         <telerik:RadColorPicker ID="AppointmentColorPicker" runat="server" CssClass="rsAdvResourceValue"
          ShowIcon="true" PaletteModes="WebPalette">
         </telerik:RadColorPicker>
         <asp:Panel runat="server" ID="ResourceControls">
          <%-- RESOURCE CONTROLS --%>
          <ul class="rsResourceControls">
           <li>
            <!-- Resource controls should follow the convention Res[Resource Name] for ID -->
            <scheduler:ResourceControl runat="server" ID="ResRoom" Type="Room" Label="Room:"
             Skin='<%# Owner.Skin %>' />
           </li>
           <li>
            <scheduler:MultipleValuesResourceControl runat="server" ID="ResUser" Type="User"
             Label="User: " />
           </li>
           <!-- Optionally add more ResourceControl instances here -->
          </ul>
         </asp:Panel>
        </asp:Panel>
        <telerik:RadTextBox runat="server" ID="DescriptionText" TextMode="MultiLine" Columns="50"
         Rows="5" Width="100%" Label='<%# Owner.Localization.AdvancedDescription + ":" %>'
         Text='<%# Eval("Description") %>' EnableSingleInputRendering="false" />
        <span class="rsAdvResetExceptions">
         <asp:LinkButton runat="server" ID="ResetExceptions" OnClick="ResetExceptions_OnClick" />
        </span>
        <telerik:RadSchedulerRecurrenceEditor runat="server" ID="AppointmentRecurrenceEditor" />
        <asp:HiddenField runat="server" ID="OriginalRecurrenceRule" />
        
           <telerik:RadCalendar ID="SharedCalendar" Runat="server" Skin="Sunset">
                        <WeekendDayStyle CssClass="rcWeekend" />
                        <CalendarTableStyle CssClass="rcMainTable" />
                        <OtherMonthDayStyle CssClass="rcOtherMonth" />
                        <OutOfRangeDayStyle CssClass="rcOutOfRange" />
                        <DisabledDayStyle CssClass="rcDisabled" />
                        <SelectedDayStyle CssClass="rcSelected" />
                        <DayOverStyle CssClass="rcHover" />
                        <FastNavigationStyle CssClass="RadCalendarMonthView RadCalendarMonthView_Sunset" />
                        <ViewSelectorStyle CssClass="rcViewSel" />
                    </telerik:RadCalendar>
       </asp:Panel>
      </div>
      <asp:Panel runat="server" ID="ButtonsPanel" CssClass="rsAdvancedSubmitArea">
       <div class="rsAdvButtonWrapper">
        <asp:LinkButton runat="server" ID="UpdateButton" CssClass="rsAdvEditSave">
         <span><%= Owner.Localization.Save %></span>
        </asp:LinkButton>
        <asp:LinkButton runat="server" ID="CancelButton" CssClass="rsAdvEditCancel" CommandName="Cancel"
         CausesValidation="false">
         <span><%= Owner.Localization.Cancel %></span>
        </asp:LinkButton>
       </div>
      </asp:Panel>
     </div>
    </div>
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 17 Aug 2012 Link to this post

    Hi Allen,

    Please, make sure you are using the latest advanced form user controls and AdvancedForm.js from this demo. Note, that just updating the Telerik.Web.UI assembly is not sufficient.

    All the best,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  5. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 17 Aug 2012 Link to this post

    Yes, I'm using the latest advanced form user controls and AdvancedForm.js from the demo.
    Here is my AdvancedFormVB.ascx:
    <%@ Control Language="VB" AutoEventWireup="true" CodeFile="AdvancedFormVB.ascx.vb"
     Inherits="SchedulerTemplatesVB.AdvancedForm" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <%@ Register TagPrefix="scheduler" TagName="ResourceControl" Src="ResourceControlVB.ascx" %>
    <%@ Register TagPrefix="scheduler" TagName="MultipleValuesResourceControl" Src="MultipleValuesResourceControlVB.ascx" %>
    <%--
        <link href="App_Themes/Default/Scheduler.Macys.css" rel="stylesheet"
            type="text/css" />
        <link href="App_Themes/Default/Calendar.Macys.css" rel="stylesheet"
            type="text/css" />
        --%>
    <div class="rsAdvancedEdit rsAdvancedModal" style="position: relative">
     <div class="rsModalBgTopLeft">
     </div>
     <div class="rsModalBgTopRight">
     </div>
     <div class="rsModalBgBottomLeft">
     </div>
     <div class="rsModalBgBottomRight">
     </div>
        <%-- Title bar. --%>
     <div class="rsAdvTitle">
            <%-- The rsAdvInnerTitle element is used as a drag handle when the form is modal. --%>
      <h1 class="rsAdvInnerTitle">
       <%= If((Me.Mode.ToString() = "Edit"), Owner.Localization.AdvancedEditAppointment, Owner.Localization.AdvancedNewAppointment)
       %></h1>
      <asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose"
       CommandName="Cancel" CausesValidation="false" ToolTip='<%# Owner.Localization.AdvancedClose %>'>
       <%= Owner.Localization.AdvancedClose %>
      </asp:LinkButton>
     </div>
       
     <div class="rsAdvContentWrapper">
            <%-- Scroll container - when the form height exceeds MaximumHeight scrollbars will appear on this element--%>
      <div class="rsAdvOptionsScroll">
       <asp:Panel runat="server" ID="AdvancedEditOptionsPanel" CssClass="rsAdvOptions">
        <asp:Panel runat="server" ID="BasicControlsPanel" CssClass="rsAdvBasicControls" OnDataBinding="BasicControlsPanel_DataBinding">
         <telerik:RadTextBox runat="server" ID="SubjectText" Width="100%" Label='<%# Owner.Localization.AdvancedSubject + ":" %>'
          EnableSingleInputRendering="false" />
         <asp:RequiredFieldValidator runat="server" ID="SubjectValidator" ControlToValidate="SubjectText"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <ul class="rsTimePickers">
          <li class="rsTimePick" style="width: 244px;">
           <label for='<%= StartDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedFrom %></label><%--
               Leaving a newline here will affect the layout, so we use a comment instead.
            --%><telerik:RadDatePicker runat="server" ID="StartDate" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput2" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="StartTime" CssClass="rsAdvTimePicker"
            Width="65px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput3" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView1" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
          <li class="rsTimeZonesWrapper">
           <telerik:RadComboBox runat="server" Visible="true" ID="TimeZonesDropDown" Width="230"
            Label="<%# Owner.Localization.AdvancedTimeZone %>" Skin='<%# Owner.Skin %>'>
           </telerik:RadComboBox>
          </li>
          <li class="rsAllDayWrapper">
           <asp:CheckBox runat="server" ID="AllDayEvent" CssClass="rsAdvChkWrap" Checked="false" />
          </li>
          <li class="rsTimePick rsEndTimePick" style="width: 244px;">
           <label for='<%= EndDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedTo%></label><%--
           
            --%><telerik:RadDatePicker runat="server" ID="EndDate" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput4" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="EndTime" CssClass="rsAdvTimePicker"
            Width="65px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput5" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView2" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
         </ul>
         <div class="rsReminderWrapper">
          <telerik:RadComboBox runat="server" ID="ReminderDropDown" Width="120px" Skin='<%# Owner.Skin %>'
           Label="<%# Owner.Localization.Reminder %>">
           <Items>
            <telerik:RadComboBoxItem Text='<%# Owner.Localization.ReminderNone %>' Value="" />
            <telerik:RadComboBoxItem Text='<%# "0 " + Owner.Localization.ReminderMinutes %>'
             Value="0" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderMinutes %>'
             Value="5" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderMinutes %>'
             Value="10" />
            <telerik:RadComboBoxItem Text='<%# "15 " + Owner.Localization.ReminderMinutes %>'
             Value="15" />
            <telerik:RadComboBoxItem Text='<%# "30 " + Owner.Localization.ReminderMinutes %>'
             Value="30" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderHour %>' Value="60" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderHours %>' Value="120" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderHours %>' Value="180" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderHours %>' Value="240" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderHours %>' Value="300" />
            <telerik:RadComboBoxItem Text='<%# "6 " + Owner.Localization.ReminderHours %>' Value="360" />
            <telerik:RadComboBoxItem Text='<%# "7 " + Owner.Localization.ReminderHours %>' Value="420" />
            <telerik:RadComboBoxItem Text='<%# "8 " + Owner.Localization.ReminderHours %>' Value="480" />
            <telerik:RadComboBoxItem Text='<%# "9 " + Owner.Localization.ReminderHours %>' Value="540" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderHours %>' Value="600" />
            <telerik:RadComboBoxItem Text='<%# "11 " + Owner.Localization.ReminderHours %>' Value="660" />
            <telerik:RadComboBoxItem Text='<%# "12 " + Owner.Localization.ReminderHours %>' Value="720" />
            <telerik:RadComboBoxItem Text='<%# "18 " + Owner.Localization.ReminderHours %>' Value="1080" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderDays %>' Value="1440" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderDays %>' Value="2880" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderDays %>' Value="4320" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderDays %>' Value="5760" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderWeek %>' Value="10080" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderWeeks %>' Value="20160" />
           </Items>
          </telerik:RadComboBox>
         </div>
         <asp:RequiredFieldValidator runat="server" ID="StartDateValidator" ControlToValidate="StartDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="StartTimeValidator" ControlToValidate="StartTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="EndDateValidator" ControlToValidate="EndDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="EndTimeValidator" ControlToValidate="EndTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:CustomValidator runat="server" ID="DurationValidator" ControlToValidate="StartDate"
          EnableClientScript="false" Display="Dynamic" CssClass="rsValidatorMsg rsInvalid"
          OnServerValidate="DurationValidator_OnServerValidate" />
        </asp:Panel>
        <asp:Panel runat="server" ID="AdvancedControlsPanel" CssClass="rsAdvMoreControls">
         <label>
          Color:
         </label>
         <!--
    -->
         <telerik:RadColorPicker ID="AppointmentColorPicker" runat="server" CssClass="rsAdvResourceValue"
          ShowIcon="true" PaletteModes="WebPalette">
         </telerik:RadColorPicker>
         <asp:Panel runat="server" ID="ResourceControls">
          <%-- RESOURCE CONTROLS --%>
          <ul class="rsResourceControls">
           <li>
            <!-- Resource controls should follow the convention Res[Resource Name] for ID -->
            <scheduler:ResourceControl runat="server" ID="ResRoom" Type="Room" Label="Room:"
             Skin='<%# Owner.Skin %>' />
           </li>
           <li>
            <scheduler:MultipleValuesResourceControl runat="server" ID="ResUser" Type="User"
             Label="User: " />
           </li>
           <!-- Optionally add more ResourceControl instances here -->
          </ul>
         </asp:Panel>
        </asp:Panel>
        <telerik:RadTextBox runat="server" ID="DescriptionText" TextMode="MultiLine" Columns="50"
         Rows="5" Width="100%" Label='<%# Owner.Localization.AdvancedDescription + ":" %>'
         Text='<%# Eval("Description") %>' EnableSingleInputRendering="false" />
        <span class="rsAdvResetExceptions">
         <asp:LinkButton runat="server" ID="ResetExceptions" OnClick="ResetExceptions_OnClick" />
        </span>
        <telerik:RadSchedulerRecurrenceEditor runat="server" ID="AppointmentRecurrenceEditor" />
        <asp:HiddenField runat="server" ID="OriginalRecurrenceRule" />
        
           <telerik:RadCalendar ID="SharedCalendar" Runat="server" Skin="Sunset">
                        <WeekendDayStyle CssClass="rcWeekend" />
                        <CalendarTableStyle CssClass="rcMainTable" />
                        <OtherMonthDayStyle CssClass="rcOtherMonth" />
                        <OutOfRangeDayStyle CssClass="rcOutOfRange" />
                        <DisabledDayStyle CssClass="rcDisabled" />
                        <SelectedDayStyle CssClass="rcSelected" />
                        <DayOverStyle CssClass="rcHover" />
                        <FastNavigationStyle CssClass="RadCalendarMonthView RadCalendarMonthView_Sunset" />
                        <ViewSelectorStyle CssClass="rcViewSel" />
                    </telerik:RadCalendar>
       </asp:Panel>
      </div>
      <asp:Panel runat="server" ID="ButtonsPanel" CssClass="rsAdvancedSubmitArea">
       <div class="rsAdvButtonWrapper">
        <asp:LinkButton runat="server" ID="UpdateButton" CssClass="rsAdvEditSave">
         <span><%= Owner.Localization.Save %></span>
        </asp:LinkButton>
        <asp:LinkButton runat="server" ID="CancelButton" CssClass="rsAdvEditCancel" CommandName="Cancel"
         CausesValidation="false">
         <span><%= Owner.Localization.Cancel %></span>
        </asp:LinkButton>
       </div>
      </asp:Panel>
     </div>
    </div>
    -------------------------------------------------------------------------------------------
    Here is my AdvancedFormVB.ascx.vb:

    Imports System
    Imports System.ComponentModel
    Imports System.Web.UI
    Imports System.Drawing
    Imports Telerik.Web.UI

    Namespace SchedulerTemplatesVB
        ''' <summary>
        ''' Specifies the advanced form mode.
        ''' </summary>
        Public Enum AdvancedFormMode
            Insert
            Edit
        End Enum

        Partial Public Class AdvancedForm
            Inherits UserControl

    #Region "Private members"

            Private Property FormInitialized() As Boolean
                Get
                    Dim storedValue As Object = ViewState("FormInitialized")
                    If storedValue IsNot Nothing Then
                        Return CBool(storedValue)
                    End If

                    Return False
                End Get

                Set(ByVal value As Boolean)
                    ViewState("FormInitialized") = value
                End Set
            End Property

            Private _mode As AdvancedFormMode = AdvancedFormMode.Insert

    #End Region

    #Region "Protected properties"

            Protected ReadOnly Property Owner() As RadScheduler
                Get
                    Return Appointment.Owner
                End Get
            End Property

            Protected ReadOnly Property Appointment() As Appointment
                Get
                    Dim container As SchedulerFormContainer = DirectCast(BindingContainer, SchedulerFormContainer)
                    Return container.Appointment
                End Get
            End Property

    #End Region

    #Region "Attributes and resources"

            <Bindable(BindableSupport.Yes, BindingDirection.TwoWay)> _
            Public Property Description() As String
                Get
                    Return DescriptionText.Text
                End Get

                Set(ByVal value As String)
                    DescriptionText.Text = value
                End Set
            End Property

            <Bindable(BindableSupport.Yes, BindingDirection.TwoWay)> _
            Public Property AppointmentColor() As String
                Get
                    ' No color selected
                    If AppointmentColorPicker.SelectedColor.A = 0 Then
                        Return Nothing
                    End If

                    Return AppointmentColorPicker.SelectedColor.ToArgb().ToString()
                End Get

                Set(ByVal value As String)
                    If String.IsNullOrEmpty(value) Then
                        Return
                    End If

                    Dim argbValue As Integer
                    If Integer.TryParse(value, argbValue) Then
                        AppointmentColorPicker.SelectedColor = Color.FromArgb(argbValue)
                    End If
                End Set
            End Property

            <Bindable(BindableSupport.Yes, BindingDirection.TwoWay)> _
            Public Property RoomID() As Object
                Get
                    Return ResRoom.Value
                End Get

                Set(ByVal value As Object)
                    ResRoom.Value = value
                End Set
            End Property

            <Bindable(BindableSupport.Yes, BindingDirection.TwoWay)> _
            Public Property UserID() As Object
                Get
                    Return ResUser.Value
                End Get

                Set(ByVal value As Object)
                    ResUser.Value = value
                End Set
            End Property

    #End Region

    #Region "Public properties"

            Public Property Mode() As AdvancedFormMode
                Get
                    Return _mode
                End Get
                Set(ByVal value As AdvancedFormMode)
                    _mode = value
                End Set
            End Property

            <Bindable(BindableSupport.Yes, BindingDirection.TwoWay)> _
            Public Property Subject() As String
                Get
                    Return SubjectText.Text
                End Get

                Set(ByVal value As String)
                    SubjectText.Text = value
                End Set
            End Property

            <Bindable(BindableSupport.Yes, BindingDirection.TwoWay)> _
            Public Property Start() As DateTime
                Get
                    Dim result As DateTime = StartDate.SelectedDate.Value.Date

                    If AllDayEvent.Checked Then
                        result = result.Date
                    Else
                        Dim time As TimeSpan = StartTime.SelectedDate.Value.TimeOfDay
                        result = result.Add(time)
                    End If

                    Return Owner.DisplayToUtc(result)
                End Get

                Set(ByVal value As DateTime)
                    StartDate.SelectedDate = Owner.UtcToDisplay(value)
                    StartTime.SelectedDate = Owner.UtcToDisplay(value)
                End Set
            End Property

            <Bindable(BindableSupport.Yes, BindingDirection.TwoWay)> _
            Public Property [End]() As DateTime
                Get
                    Dim result As DateTime = EndDate.SelectedDate.Value.Date

                    If AllDayEvent.Checked Then
                        result = result.Date.AddDays(1)
                    Else
                        Dim time As TimeSpan = EndTime.SelectedDate.Value.TimeOfDay
                        result = result.Add(time)
                    End If

                    Return Owner.DisplayToUtc(result)
                End Get

                Set(ByVal value As DateTime)
                    EndDate.SelectedDate = Owner.UtcToDisplay(value)
                    EndTime.SelectedDate = Owner.UtcToDisplay(value)
                End Set
            End Property

            <Bindable(BindableSupport.Yes, BindingDirection.TwoWay)> _
            Public Property RecurrenceRuleText() As String
                Get
                    If Owner.RecurrenceSupport Then
                        Dim dateSpecified As Boolean = StartDate.SelectedDate.HasValue AndAlso EndDate.SelectedDate.HasValue
                        Dim timeSpecified As Boolean = StartTime.SelectedDate.HasValue AndAlso EndTime.SelectedDate.HasValue

                        If (AllDayEvent.Checked AndAlso Not dateSpecified) OrElse (Not AllDayEvent.Checked AndAlso Not (dateSpecified AndAlso timeSpecified)) Then
                            Return String.Empty
                        End If

                        AppointmentRecurrenceEditor.StartDate = Start
                        AppointmentRecurrenceEditor.EndDate = [End]

                        Dim rrule As RecurrenceRule = AppointmentRecurrenceEditor.RecurrenceRule

                        If rrule Is Nothing Then
                            Return String.Empty
                        End If

                        Dim originalRule As RecurrenceRule = Nothing
                        If RecurrenceRule.TryParse(OriginalRecurrenceRule.Value, originalRule) Then
                            rrule.Exceptions = originalRule.Exceptions
                        End If

                        If rrule.Range.RecursUntil <> DateTime.MaxValue Then
                            rrule.Range.RecursUntil = Owner.DisplayToUtc(rrule.Range.RecursUntil)

                            If Not AllDayEvent.Checked Then
                                rrule.Range.RecursUntil = rrule.Range.RecursUntil.AddDays(1)
                            End If
                        End If

                        Return rrule.ToString()
                    End If

                    Return String.Empty
                End Get

                Set(ByVal value As String)
                    Dim rrule As RecurrenceRule = Nothing
                    RecurrenceRule.TryParse(value, rrule)

                    If rrule IsNot Nothing Then
                        If rrule.Range.RecursUntil <> DateTime.MaxValue Then
                            Dim recursUntil As DateTime = Owner.UtcToDisplay(rrule.Range.RecursUntil)

                            If Not IsAllDayAppointment(Appointment) Then
                                recursUntil = recursUntil.AddDays(-1)
                            End If

                            rrule.Range.RecursUntil = recursUntil
                        End If

                        AppointmentRecurrenceEditor.RecurrenceRule = rrule

                        OriginalRecurrenceRule.Value = value
                    End If
                End Set
            End Property

            <Bindable(BindableSupport.Yes, BindingDirection.TwoWay)> _
            Public Property Reminder() As String
                Get
                    If Owner.RemindersSupport AndAlso ReminderDropDown.SelectedValue <> String.Empty Then
                        Return ReminderDropDown.SelectedValue
                    End If

                    Return String.Empty
                End Get

                Set(ByVal value As String)
                    Dim item As RadComboBoxItem = ReminderDropDown.Items.FindItemByValue(value)
                    If item IsNot Nothing Then
                        item.Selected = True
                    End If
                End Set
            End Property

            <Bindable(BindableSupport.Yes, BindingDirection.TwoWay)> _
            Public Property TimeZoneID() As String
                Get
                    Return TimeZonesDropDown.SelectedValue
                End Get

                Set(value As String)

                    Dim item As RadComboBoxItem = TimeZonesDropDown.Items.FindItemByValue(value)
                    If item IsNot Nothing Then
                        item.Selected = True
                    End If
                End Set
            End Property

    #End Region

            Protected Sub Page_Load(sender As Object, e As EventArgs)
                UpdateButton.ValidationGroup = Owner.ValidationGroup
                UpdateButton.CommandName = If(Mode = AdvancedFormMode.Edit, "Update", "Insert")

                If Owner.AdvancedForm.EnableTimeZonesEditing Then
                    PopulateTimeZonesDropDown()
                Else
                    TimeZonesDropDown.Visible = False
                End If

                If Not Owner.Reminders.Enabled Then
                    ReminderDropDown.Visible = False
                End If

                InitializeStrings()
                InitializeRecurrenceEditor()

                If Not FormInitialized Then
                    UpdateResetExceptionsVisibility()
                End If
                ''            Me.ResourceControls.Controls(.Visible = False
            End Sub

            Protected Overrides Sub OnPreRender(e As EventArgs)
                MyBase.OnPreRender(e)

                If Not FormInitialized Then
                    If IsAllDayAppointment(Appointment) Then
                        EndDate.SelectedDate = EndDate.SelectedDate.Value.AddDays(-1)
                    End If

                    FormInitialized = True
                End If

                If [String].IsNullOrEmpty(Appointment.TimeZoneID) Then
                    TimeZoneID = Owner.TimeZonesProvider.OperationTimeZone.TimeZoneId
                Else
                    TimeZoneID = Appointment.TimeZoneID
                End If
            End Sub

            Private Sub PopulateTimeZonesDropDown()
                TimeZonesDropDown.DataSource = Owner.TimeZonesProvider.GetAllTimeZones()
                TimeZonesDropDown.DataTextField = "DisplayName"
                TimeZonesDropDown.DataValueField = "Id"
            End Sub

            Protected Sub BasicControlsPanel_DataBinding(ByVal sender As Object, ByVal e As EventArgs)
                AllDayEvent.Checked = IsAllDayAppointment(Appointment)
            End Sub

            Protected Sub DurationValidator_OnServerValidate(ByVal source As Object, ByVal args As ServerValidateEventArgs)
                args.IsValid = ([End] - Start) > TimeSpan.Zero
            End Sub

            Protected Sub ResetExceptions_OnClick(ByVal sender As Object, ByVal e As EventArgs)
                Owner.RemoveRecurrenceExceptions(Appointment)
                OriginalRecurrenceRule.Value = Appointment.RecurrenceRule
                ResetExceptions.Text = Owner.Localization.AdvancedDone
            End Sub

    #Region "Private methods"

            Private Sub InitializeStrings()
                SubjectValidator.ErrorMessage = Owner.Localization.AdvancedSubjectRequired
                SubjectValidator.ValidationGroup = Owner.ValidationGroup

                AllDayEvent.Text = Owner.Localization.AdvancedAllDayEvent

                StartDateValidator.ErrorMessage = Owner.Localization.AdvancedStartDateRequired
                StartDateValidator.ValidationGroup = Owner.ValidationGroup

                StartTimeValidator.ErrorMessage = Owner.Localization.AdvancedStartTimeRequired
                StartTimeValidator.ValidationGroup = Owner.ValidationGroup

                EndDateValidator.ErrorMessage = Owner.Localization.AdvancedEndDateRequired
                EndDateValidator.ValidationGroup = Owner.ValidationGroup

                EndTimeValidator.ErrorMessage = Owner.Localization.AdvancedEndTimeRequired
                EndTimeValidator.ValidationGroup = Owner.ValidationGroup

                DurationValidator.ErrorMessage = Owner.Localization.AdvancedStartTimeBeforeEndTime
                DurationValidator.ValidationGroup = Owner.ValidationGroup

                ResetExceptions.Text = Owner.Localization.AdvancedReset

                SharedCalendar.FastNavigationSettings.OkButtonCaption = Owner.Localization.AdvancedCalendarOK
                SharedCalendar.FastNavigationSettings.CancelButtonCaption = Owner.Localization.AdvancedCalendarCancel
                SharedCalendar.FastNavigationSettings.TodayButtonCaption = Owner.Localization.AdvancedCalendarToday
            End Sub

            Private Sub InitializeRecurrenceEditor()
                AppointmentRecurrenceEditor.SharedCalendar = SharedCalendar
                AppointmentRecurrenceEditor.Culture = Owner.Culture
                AppointmentRecurrenceEditor.StartDate = Appointment.Start
                AppointmentRecurrenceEditor.EndDate = Appointment.End
            End Sub

            Private Sub UpdateResetExceptionsVisibility()
                If String.IsNullOrEmpty(Owner.WebServiceSettings.Path) Then
                    ResetExceptions.Visible = False
                    Dim rrule As RecurrenceRule = RecurrenceRule.Empty
                    If RecurrenceRule.TryParse(Appointment.RecurrenceRule, rrule) Then
                        ResetExceptions.Visible = rrule.Exceptions.Count > 0
                    End If
                End If
            End Sub

            Private Function IsAllDayAppointment(ByVal appointment As Appointment) As Boolean
                Dim displayStart As DateTime = Owner.UtcToDisplay(appointment.Start)
                Dim displayEnd As DateTime = Owner.UtcToDisplay(appointment.[End])
                Return displayStart.CompareTo(displayStart.[Date]) = 0 AndAlso displayEnd.CompareTo(displayEnd.[Date]) = 0
            End Function
    #End Region

            Protected Sub StartDate_SelectedDateChanged(sender As Object, e As Telerik.Web.UI.Calendar.SelectedDateChangedEventArgs) Handles StartDate.SelectedDateChanged

            End Sub
        End Class
    End Namespace


  6. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 20 Aug 2012 Link to this post

    Hello Allen,

    If you are using a custom skin, please make sure you set EnableEmbeddedSkins="false" for all RadControls in the AdvancedForm user control.

    Regards,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  7. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 20 Aug 2012 Link to this post

    I have already changed it back to default skin ("Sunset),  But the Datepicker and Time picker are still not working.
  8. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 22 Aug 2012 Link to this post

    Hello Allen,

    Please, make sure you have registered the AdvancedForm.js file with RadScriptManager.
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1">
           <Scripts>
               <asp:ScriptReference Path="AdvancedForm.js" />
           </Scripts>
       </telerik:RadScriptManager>

    You may need to modify the Path value for your case.

    Regards,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  9. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 24 Aug 2012 Link to this post

    After I corrected the path for the "AdvancedForm.js", I can't get the AllDay, Save and Cancel buttons working.  eg: when I click save or cancel,  The advanced form won't close.  I have set  breakpoints on the save and cancel functions of the "AdvancedForm.js",  It will not hit the breakpoints when I click the save and cancel buttons.  I even try to use ScriptManagerProxy in my AdvancedformVB.ascx.
    Please refer to the attachment.

    Here is my advancedformVB.ascx:
    <%@ Control Language="VB" AutoEventWireup="true" CodeFile="AdvancedFormVB.ascx.vb"
     Inherits="SchedulerTemplatesVB.AdvancedForm" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <%@ Register TagPrefix="MSP" TagName="ResourceControl" Src="ResourceControlVB.ascx" %>
    <%@ Register TagPrefix="MSP" TagName="MultipleValuesResourceControl" Src="MultipleValuesResourceControlVB.ascx" %>
    <%--
        <link href="App_Themes/Default/Scheduler.Macys.css" rel="stylesheet"
            type="text/css" />
        <link href="App_Themes/Default/Calendar.Macys.css" rel="stylesheet"
            type="text/css" />
        --%>
    <div class="rsAdvancedEdit rsAdvancedModal" style="position: relative">
     <div class="rsModalBgTopLeft">
         <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
                <Scripts>
                    <asp:ScriptReference Path="~/MyAvailability/AdvancedForm.js" />
                </Scripts>
            </asp:ScriptManagerProxy>
     </div>
     <div class="rsModalBgTopRight">
     </div>
     <div class="rsModalBgBottomLeft">
     </div>
     <div class="rsModalBgBottomRight">
     </div>
        <%-- Title bar. --%>
     <div class="rsAdvTitle">
            <%-- The rsAdvInnerTitle element is used as a drag handle when the form is modal. --%>
      <h1 class="rsAdvInnerTitle">
       <%= If((Me.Mode.ToString() = "Edit"), Owner.Localization.AdvancedEditAppointment, Owner.Localization.AdvancedNewAppointment)
       %></h1>
      <asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose"
       CommandName="Cancel" CausesValidation="false" ToolTip='<%# Owner.Localization.AdvancedClose %>'>
       <%= Owner.Localization.AdvancedClose %>
      </asp:LinkButton>
     </div>
       
     <div class="rsAdvContentWrapper">
            <%-- Scroll container - when the form height exceeds MaximumHeight scrollbars will appear on this element--%>
      <div class="rsAdvOptionsScroll">
       <asp:Panel runat="server" ID="AdvancedEditOptionsPanel" CssClass="rsAdvOptions">
        <asp:Panel runat="server" ID="BasicControlsPanel" CssClass="rsAdvBasicControls" OnDataBinding="BasicControlsPanel_DataBinding">
         <telerik:RadTextBox runat="server" ID="SubjectText" Width="100%" Label='<%# Owner.Localization.AdvancedSubject + ":" %>'
          EnableSingleInputRendering="false" />
         <asp:RequiredFieldValidator runat="server" ID="SubjectValidator" ControlToValidate="SubjectText"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <ul class="rsTimePickers">
          <li class="rsTimePick" style="width: 244px;">
           <label for='<%= StartDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedFrom %></label><%--
               Leaving a newline here will affect the layout, so we use a comment instead.
            --%>
                                <telerik:RadDatePicker runat="server" ID="StartDate" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='Sunset' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01" ShowPopupOnFocus="True">
             <DatePopupButton Visible="False" />
             <Calendar Skin="Sunset" UseColumnHeadersAsSelectors="False"
                                            UseRowHeadersAsSelectors="False" ViewSelectorText="x">
                                        </Calendar>
                                        <DateInput ID="DateInput2" runat="server"
                                            DateFormat="<%# Owner.AdvancedForm.DateFormat %>" EmptyMessage=" "
                                            EmptyMessageStyle-CssClass="riError" EnableSingleInputRendering="false"
                                            Width="83px">
                                            <EmptyMessageStyle CssClass="riError" />
                                        </DateInput>
            </telerik:RadDatePicker>
           <%--
           
           --%>
                                <telerik:RadTimePicker runat="server" ID="StartTime" CssClass="rsAdvTimePicker"
            Width="65px" Skin='Sunset' Culture='<%# Owner.Culture %>' ShowPopupOnFocus="True">
            <DateInput ID="DateInput3" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" >
                <EmptyMessageStyle CssClass="riError" />
                                    </DateInput>
            <TimePopupButton Visible="False" />
            <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False"
                                        ViewSelectorText="x">
                                    </Calendar>
                                    <DatePopupButton CssClass="" HoverImageUrl="" ImageUrl="" Visible="False" />
            <TimeView ID="TimeView1" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
          <li class="rsTimeZonesWrapper">
           <telerik:RadComboBox runat="server" Visible="true" ID="TimeZonesDropDown" Width="230"
            Label="<%# Owner.Localization.AdvancedTimeZone %>" Skin='<%# Owner.Skin %>'>
           </telerik:RadComboBox>
          </li>
          <li class="rsAllDayWrapper">
           <asp:CheckBox runat="server" ID="AllDayEvent" CssClass="rsAdvChkWrap" Checked="false" />
          </li>
          <li class="rsTimePick rsEndTimePick" style="width: 244px;">
           <label for='<%= EndDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedTo%></label><%--
           
            --%>
                                <telerik:RadDatePicker runat="server" ID="EndDate" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='Sunset' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01" ShowPopupOnFocus="True">
             <DatePopupButton Visible="False" />
             <Calendar Skin="Sunset" UseColumnHeadersAsSelectors="False"
                                            UseRowHeadersAsSelectors="False" ViewSelectorText="x">
                                        </Calendar>
                                        <DateInput ID="DateInput4" runat="server"
                                            DateFormat="<%# Owner.AdvancedForm.DateFormat %>" EmptyMessage=" "
                                            EmptyMessageStyle-CssClass="riError" EnableSingleInputRendering="false"
                                            Width="83px">
                                            <EmptyMessageStyle CssClass="riError" />
                                        </DateInput>
            </telerik:RadDatePicker>
           <%--
           
           --%>
                                <telerik:RadTimePicker runat="server" ID="EndTime" CssClass="rsAdvTimePicker"
            Width="65px" Skin='Sunset' Culture='<%# Owner.Culture %>' ShowPopupOnFocus="True">
            <DateInput ID="DateInput5" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" >
                <EmptyMessageStyle CssClass="riError" />
                                    </DateInput>
            <TimePopupButton Visible="False" />
            <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False"
                                        ViewSelectorText="x">
                                    </Calendar>
                                    <DatePopupButton CssClass="" HoverImageUrl="" ImageUrl="" Visible="False" />
            <TimeView ID="TimeView2" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
         </ul>
         <div class="rsReminderWrapper">
          <telerik:RadComboBox runat="server" ID="ReminderDropDown" Width="120px" Skin='Sunset'
           Label="<%# Owner.Localization.Reminder %>">
           <Items>
            <telerik:RadComboBoxItem Text='<%# Owner.Localization.ReminderNone %>' Value="" />
            <telerik:RadComboBoxItem Text='<%# "0 " + Owner.Localization.ReminderMinutes %>'
             Value="0" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderMinutes %>'
             Value="5" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderMinutes %>'
             Value="10" />
            <telerik:RadComboBoxItem Text='<%# "15 " + Owner.Localization.ReminderMinutes %>'
             Value="15" />
            <telerik:RadComboBoxItem Text='<%# "30 " + Owner.Localization.ReminderMinutes %>'
             Value="30" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderHour %>' Value="60" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderHours %>' Value="120" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderHours %>' Value="180" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderHours %>' Value="240" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderHours %>' Value="300" />
            <telerik:RadComboBoxItem Text='<%# "6 " + Owner.Localization.ReminderHours %>' Value="360" />
            <telerik:RadComboBoxItem Text='<%# "7 " + Owner.Localization.ReminderHours %>' Value="420" />
            <telerik:RadComboBoxItem Text='<%# "8 " + Owner.Localization.ReminderHours %>' Value="480" />
            <telerik:RadComboBoxItem Text='<%# "9 " + Owner.Localization.ReminderHours %>' Value="540" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderHours %>' Value="600" />
            <telerik:RadComboBoxItem Text='<%# "11 " + Owner.Localization.ReminderHours %>' Value="660" />
            <telerik:RadComboBoxItem Text='<%# "12 " + Owner.Localization.ReminderHours %>' Value="720" />
            <telerik:RadComboBoxItem Text='<%# "18 " + Owner.Localization.ReminderHours %>' Value="1080" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderDays %>' Value="1440" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderDays %>' Value="2880" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderDays %>' Value="4320" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderDays %>' Value="5760" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderWeek %>' Value="10080" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderWeeks %>' Value="20160" />
           </Items>
          </telerik:RadComboBox>
         </div>
         <asp:RequiredFieldValidator runat="server" ID="StartDateValidator" ControlToValidate="StartDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="StartTimeValidator" ControlToValidate="StartTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="EndDateValidator" ControlToValidate="EndDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="EndTimeValidator" ControlToValidate="EndTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:CustomValidator runat="server" ID="DurationValidator" ControlToValidate="StartDate"
          EnableClientScript="false" Display="Dynamic" CssClass="rsValidatorMsg rsInvalid"
          OnServerValidate="DurationValidator_OnServerValidate" />
        </asp:Panel>
        <asp:Panel runat="server" ID="AdvancedControlsPanel" CssClass="rsAdvMoreControls">
         <label>
          Color:
         </label>
         <!--
    -->
         <telerik:RadColorPicker ID="AppointmentColorPicker" runat="server" CssClass="rsAdvResourceValue"
          ShowIcon="true" PaletteModes="WebPalette" Skin="Sunset">
         </telerik:RadColorPicker>
         <asp:Panel runat="server" ID="ResourceControls">
          <%-- RESOURCE CONTROLS --%>
          <ul class="rsResourceControls">
           <li>
            <!-- Resource controls should follow the convention Res[Resource Name] for ID -->
            <MSP:ResourceControl runat="server" ID="ResRoom" Type="Room" Label="Room:"
             Skin='<%# Owner.Skin %>' />
           </li>
           <li>
            <MSP:MultipleValuesResourceControl runat="server" ID="ResUser" Type="User"
             Label="User: " />
           </li>
           <!-- Optionally add more ResourceControl instances here -->
          </ul>
         </asp:Panel>
        </asp:Panel>
        <telerik:RadTextBox runat="server" ID="DescriptionText" TextMode="MultiLine" Columns="50"
         Rows="5" Width="100%" Label='<%# Owner.Localization.AdvancedDescription + ":" %>'
         Text='<%# Eval("Description") %>' EnableSingleInputRendering="false" />
        <span class="rsAdvResetExceptions">
         <asp:LinkButton runat="server" ID="ResetExceptions" OnClick="ResetExceptions_OnClick" />
        </span>
        <telerik:RadSchedulerRecurrenceEditor runat="server" ID="AppointmentRecurrenceEditor" />
        <asp:HiddenField runat="server" ID="OriginalRecurrenceRule" />
        
           <telerik:RadCalendar ID="SharedCalendar" Runat="server" Skin="Sunset">
                        <WeekendDayStyle CssClass="rcWeekend" />
                        <CalendarTableStyle CssClass="rcMainTable" />
                        <OtherMonthDayStyle CssClass="rcOtherMonth" />
                        <OutOfRangeDayStyle CssClass="rcOutOfRange" />
                        <DisabledDayStyle CssClass="rcDisabled" />
                        <SelectedDayStyle CssClass="rcSelected" />
                        <DayOverStyle CssClass="rcHover" />
                        <FastNavigationStyle CssClass="RadCalendarMonthView RadCalendarMonthView_Sunset" />
                        <ViewSelectorStyle CssClass="rcViewSel" />
                    </telerik:RadCalendar>
       </asp:Panel>
      </div>
      <asp:Panel runat="server" ID="ButtonsPanel" CssClass="rsAdvancedSubmitArea">
       <div class="rsAdvButtonWrapper">
        <asp:LinkButton runat="server" ID="UpdateButton" CssClass="rsAdvEditSave">
         <span><%= Owner.Localization.Save %></span>
        </asp:LinkButton>
        <asp:LinkButton runat="server" ID="CancelButton" CssClass="rsAdvEditCancel" CommandName="Cancel"
         CausesValidation="false">
         <span><%= Owner.Localization.Cancel %></span>
        </asp:LinkButton>
       </div>
      </asp:Panel>
     </div>
    </div>
    ______________________________________________________

    Here is my siteMaster:

    <%@ Master Language="VB" AutoEventWireup="false" CodeBehind="Site.master.vb" Inherits="MSP.Site" ViewStateMode="Enabled" %>

    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head runat="server">
        <title>(<%=machineEnv%>,<%=machineHost%>) - My Schedule Plus</title>
        <link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
        <link href="~/Styles/wtk.css" rel="stylesheet" type="text/css" />
        <asp:ContentPlaceHolder ID="HeadContent" runat="server">
        </asp:ContentPlaceHolder>
        <link rel="stylesheet" type="text/css" href="MyAvailability/ajax_Dropdown_Menu/pro_dropdown_2/pro_dropdown_2.css" />

        <style type="text/css">
            #Form1
            {
                height: 150px;
            }
        </style>
    </head>
    <body>
        <form runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
            <Scripts>
                <asp:ScriptReference Path="~/MyAvailability/AdvancedForm.js" />
                <asp:scriptreference Path="~/Scripts/date.format.js" />
            </Scripts>
        </asp:ScriptManager>
        <div class="page">
            <div class="sitenav">
                    <div class="leftit" style="width: 200px; height: 80px; z-index: 1; text-align: center; vertical-align: bottom">
                    <br />
                    <br />
                        <img alt="" src="/Images/MyPage_WhiteOnBlk_200x44.png" width="200px" height="44px" />
                    </div>
                    <asp:Panel ID="NavMenu" class="menucontainer" runat="server">
                        <!--
                        <asp:LinkButton ID="lbtnMyPage" runat="server" PostBackUrl="~/MyPage.aspx" ToolTip="Click here to return to My Page" CssClass="NavButton">
                            <span>My Page&nbsp;&nbsp;&nbsp;&nbsp;|</span>
                        </asp:LinkButton>
                        -->
                        <asp:LinkButton ID="lbtnMSPMyPage" runat="server" PostBackUrl="~/MyPage.aspx" ToolTip="Click here to return to MSP My Page" CssClass="NavLink">
                            <span>&nbsp;&nbsp;&nbsp;&nbsp;MSP My Page&nbsp;&nbsp;&nbsp;&nbsp;|</span>
                        </asp:LinkButton>
                        <asp:LinkButton ID="lbtnLogout" runat="server" Text="<br /><br /><br />Logout" PostBackUrl="~/Logout.aspx" ToolTip="Click here to log out of MSP" CssClass="NavLink">
                            <span>&nbsp;&nbsp;&nbsp;&nbsp;Logout&nbsp;&nbsp;</span>
                        </asp:LinkButton>
                        <br />
                        <!-- All nav buttons are coded here.  The code behind will take car of removing the icons the user does not have access to -->
                        <asp:LinkButton ID="lbtnMySchedule" runat="server" PostBackUrl="~/MySchedule/MySchedule.aspx" ToolTip="Click Here To View Your Schedule" CssClass="NavButton">
                            <div align="center">
                                <img src="../Images/ICON_MySchedule_32x32.png" alt="" />
                            </div>
                            <span>Schedule</span>
                        </asp:LinkButton>
                        <asp:LinkButton ID="lbtnMyTimecard" runat="server" PostBackUrl="~/MyTimecard/MyTimecard.aspx" ToolTip="Click Here To View Your Timecard" CssClass="NavButton">
                            <div align="center">
                                <img src="../Images/ICON_MyTimecard_32x32.png" alt="" />
                            </div>
                            <span>Timecard</span>
                        </asp:LinkButton>
                        <asp:LinkButton ID="lbtnMyAttendance" runat="server" PostBackUrl="~/MyAttendance/MyAttendance.aspx" ToolTip="Click Here To View Your Attendance" CssClass="NavButton">
                            <div align="center">
                                <img src="../Images/ICON_MyAttendance_32x32.png" alt="" />
                            </div>
                            <span>Attendance</span>
                        </asp:LinkButton>
                        <asp:LinkButton ID="lbtnMyReports" runat="server" PostBackUrl="~/MyReports/MySSHistory.aspx" ToolTip="Click Here To View your self select history, Area schedule, and other Reports" CssClass="NavButton">
                            <div align="center">
                                <img src="../Images/ICON_MyReports_32x32.png" alt="" />
                            </div>
                            <span>Reports</span>
                        </asp:LinkButton>
                        <asp:LinkButton ID="lbtnMSPDesktop" runat="server" PostBackUrl="~/MSPDesktop/MSPDesktop.aspx" ToolTip="Click Here To Get To the MSP Desktop Launch Page" CssClass="NavButton">
                            <div align="center">
                                <img src="../Images/ICON_MSPDesktop_32x32.png" alt="" />
                            </div>
                            <span>Desktop</span>
                        </asp:LinkButton>
                        <asp:LinkButton ID="lbtnMyAvailability" runat="server" PostBackUrl="~/MyAvailability/MyAvailability.aspx" ToolTip="Click Here To View Your Availability Information" CssClass="NavButton">
                            <div align="center">
                                <img src="../Images/ICON_MyAvailability_32x32.png" alt="" />
                            </div>
                            <span>Availability</span>
                        </asp:LinkButton>
                </asp:Panel>
            </div>

            <div class="redbar">&nbsp;</div>

            <div class="bannerseperator">
                <div class="leftit" style="width: 100%; position: absolute; z-index: 1;">
                    <asp:Label ID="Label1" runat="server" Text="&nbsp;My Schedule" Font-Size="Medium" ForeColor="#CC0000"></asp:Label>
                    <asp:Label ID="Label2" runat="server" Text="&nbsp;Plus" Font-Size="Medium" ForeColor="#000000"></asp:Label>
                </div>
                <div class="rightit" style="width: 100%; position: absolute; z-index: 2;">
                    <script type="text/javascript" language="javascript">document.write(dateFormat(new Date(),"ddd., mmmm dS, yyyy - h:MMtt"));</script>&nbsp;&nbsp;
                    <%If blnIsSPOS = False Then%>
                    <a id="Help" class="helplink" href="../Help/WeeklyScheduleMgmtQRCv0911.pdf" target="_blank">
                        <img src="../Images/Help_20_1.png" alt="" style="border-style: none; vertical-align: top" />
                    </a>
                    <% End If%>
                </div>
                <div style="width: 100%; position: absolute; z-index: 3;">
                    <center><asp:Label ID="MSPUserDisplay" runat="server" Text="12345678 - John Doe"
                            Font-Bold="True" Font-Size="Medium" ForeColor="#222222"></asp:Label>
                    </center>
                </div>
            </div>

            <asp:Panel ID="pnlImpAssoc" class="ImpAssoc" runat="server">
                Impersonate Assoc:&nbsp;<asp:TextBox ID="txtImpAssocNbr" runat="server" MaxLength="8" Width="60"></asp:TextBox>
                &nbsp;&nbsp;
                <asp:Button ID="btnStartImpAssoc" runat="server" Text="Start" BackColor="#CCFFCC" />
                &nbsp;&nbsp;
                <asp:Button ID="btnStopImpAssoc" runat="server" Text="Stop" BackColor="#FFCCCC" Enabled="False" />
            </asp:Panel>

            <div class="title">
                <asp:Label ID="PageTitle" runat="server" Text=""></asp:Label>
            </div>

           <div id="pnlMain" class="main">
                <!-- page content -->
                <asp:ContentPlaceHolder ID="TabContent" runat="server">
                </asp:ContentPlaceHolder>
           </div>  <!--pnlMain -->

        </div> <!-- page -->

        <asp:Timer ID="tmrSessionOut" runat="server" Interval="900000">
        </asp:Timer>   
        <!--Update Progress:Start-->
        <asp:UpdateProgress ID="updateProgress" runat="server">
            <ProgressTemplate>
                <div id="progressBackgroundFilter">
                </div>
                <asp:Panel ID="processMessage" align="center" CssClass="roundedBorder2x" runat="server">
                <div id="processMessage11" align="center">
                    Please wait..Loading..<br />
                    <br />
                    <img alt="Loading..." src="../Images/loader.gif" />
                    </div>
                    </asp:Panel>
            </ProgressTemplate>
        </asp:UpdateProgress>
        <!--Update Progress:End -->
        </form>
            <script type="text/javascript">
                Sys.Application.add_load(ApplicationLoadHandler);

                //functions for automatically displaying the loading... graphic on each page postback
                function ApplicationLoadHandler(sender, args) {
                    var prm = Sys.WebForms.PageRequestManager.getInstance();
                    //if (!prm.get_isInAsyncPostBack()) {
                        prm.add_initializeRequest(initRequest);
                        prm.add_endRequest(endRequest);
                    //}
                }
                function initRequest(sender, args) {
                    //Show the LOADING splash
                    $get("updateProgress").style.display = "block";
                    //Disable the session timeout timer
                    var timer = $find('<%= tmrSessionOut.ClientID %>');
                    timer.set_enabled(false);
                    timer._stopTimer();
                }

                function endRequest(sender, args) {
                    //Remove the LOADING splash
                    $get("updateProgress").style.display = "none";
                    //Reset the session timeout timer
                    var timer = $find('<%= tmrSessionOut.ClientID %>');
                    timer.set_interval(<%=Integer.parse(SessionTimeout)%>);
                    timer.set_enabled(true);
                    timer._startTimer();
                }
        </script>
    </body>
    </html>



  10. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2061 posts

    Posted 28 Aug 2012 Link to this post

    Hello Allen,

    Attached you can find a project we created based on your code. It works fine now.
    There was some code, that I removed or commented, because either the resources or implementation was missing. Let me list the modifications, that I did with some notes, so easily can be read:
    • date.format.js script file was missing, so I commented that line of code in the master page.
    • The assembly AjaxControlToolkit was missing, so I did remove the Register directive. Therefore I did remove the timer control <asp:Timer ... </asp:Timer> and the JavaScript functions related to it.

    Now 'All day", "Save" and "Cancel" functionality work fine and there are no JavaScript errors.
    Could you please try the project at your side and compare it with yours?

    I am glad to assist you and I hope this was helpful.

    Regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  11. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 29 Aug 2012 Link to this post

    After I included your scripts in my project, I receive errors such as 'DescriptionText' is not declared. It may be inaccessible due to its protection level.  Please see the screen shot.
    Can you instruct me how to merge your scripts into my project?
  12. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 31 Aug 2012 Link to this post

    I have already solve the errors.  Thanks.
    Now, based on the sample you sent me.  I'm trying to add radio buttons similar to the chek boxes.  I want:
    1. the radio buttons are mutual-exclusive.
    2. by default, The start time and end time are Disable
        when the All Day button is checked, the start time will become 8am and the end time will become 11pm
        when the DayOff button is checked, the  the start time and the end time will show nothing
        when the Morning (12 - 6pm) button is checked, the start time will become 12am and the end time will become 6pm
        when the evening ( 6pm - 12) button is checked, the start time will become 6pm the end time will become 12pm
        when the Other button is checked, The start time and end time are enable, so the user can change both start and end time.

    Please help. 
  13. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2061 posts

    Posted 03 Sep 2012 Link to this post

    Hello Allen,

    I'm glad that the project that I sent you worked pretty well for you and helped you solved the errors. If you meet any other issues connected with RadControls in your custom solution, please provide the code, that will help us observer it at our side as well. This way we can be more helpful with solving it.
     
    Here you may find some detailed information about using Advanced Templates that may be useful as well.


    Kind regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  14. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 03 Sep 2012 Link to this post

    The code I have is exactly the one you sent to me.  I need your help in adding the client side functions.  Again, please refer to my last reply.  It also has a png.
  15. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2061 posts

    Posted 04 Sep 2012 Link to this post

    Hello Allen,

    I created a sample project that implements a scenario similar to the one on the image you attached. It is based on our KB and demonstrates how you can customize your AdvcancedForm. RadScheduler is bound to XML file, so no additional configurations are needed. 

    I did following modifications to the KB:
    • I added the radio buttons in the AdvancedForm user control in a Panel with ID="DefaultTime"
    • The JavaScript function goes at the bottom of AdvancedForm.js file.

    I hope this will be helpful.


    Regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  16. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 06 Sep 2012 Link to this post

    Thank you so much.  It works great. 
    Is there a way to chang the header title of the advancedform dynamically?
    I want the subject and the date on the header.
    Please refer to the png
  17. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2061 posts

    Posted 07 Sep 2012 Link to this post

    Hello Allen,

    By simply modifying the AdvancedForm.ascx  file you would get your desired scenario as showed below:

    <div class="rsAdvTitle">
            <%-- The rsAdvInnerTitle element is used as a drag handle when the form is modal. --%>
            <h1 class="rsAdvInnerTitle">
                <%= If((Me.Mode.ToString() = "Edit"), Me.Subject + " " + Owner.SelectedDate.ToLongDateString(), Me.Subject + " " + Owner.SelectedDate.ToLongDateString()) %></h1>
            <asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose"
                CommandName="Cancel" CausesValidation="false" ToolTip='<%# Owner.Localization.AdvancedClose %>'>
                <%= Owner.Localization.AdvancedClose %>
            </asp:LinkButton>
    </div>
     
    I hope you will find this helpful.

    Regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  18. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 07 Sep 2012 Link to this post

    Thank you for your great help.
    I have another question:
    If the Day Off button is selected, and the user click the Save button, I want this particular appointment to be deleted.
    Please refer to the PNG.
  19. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 10 Sep 2012 Link to this post

    There is another issue:  On the XML file, I set an all day appointment

    <

     

     

    Start>2012-09-05T00:00Z</Start>

     

    <

     

     

    End>2012-09-06T00:00Z</End>

     

    it's not showing.  Pease refer to the png file
  20. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 10 Sep 2012 Link to this post

    There is another issue: On the XML file, I set an all day appointment

    <

    Start>2012-09-05T00:00Z</Start>
        <End>2012-09-06T00:00Z</End>

     

    it's not showing. Pease refer to the png file.
  21. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2061 posts

    Posted 12 Sep 2012 Link to this post

    Hello Allen,

    I am providing a piece of code that will implement similar delete functionality:
    • Please add on your aspx page two input hidden fields as shown below:
    <input runat="server" id="dayOffInput" value="false" type="hidden" />
    <input runat="server" id="appointmentID" value="0" type="hidden" />


    • In your AdvancedForm.acx user control please replace the default Link button for saving with ID=UpdateButton  with this RadButton:
    <telerik:RadButton runat="server" ID="UpdateButton" CssClass="rsAdvEditSave" OnClientClicking="OnClientClicking" Text="Save">
    </telerik:RadButton>

    • Modify your Cancel button this way:
    <asp:LinkButton runat="server" ID="CancelButton" CssClass="rsAdvEditCancel" CommandName="Cancel" OnClick="cancelDelete();"
                        CausesValidation="false">
                        <span><%= Owner.Localization.Cancel %></span>
    </asp:LinkButton>

    • Please add this piece of code to your OnClientFormCreated event function:

    var appointment = eventArgs.get_appointment();
    var appointmentID = appointment.get_id();
    $("#appointmentID").val(appointmentID);

    • Please implement needed JavaScript OnClientClicking and some help functions in your AdvancedForm.js:
    function cancelDelete() {
        $ = $telerik.$;
        $("#appointmentID").val("-1");
        $("#dayOffInput").val("false");
     }
     
    function OnClientClicking(sender, args) {
          
         $ = $telerik.$;
         if ($("#appointmentID").val() != "-1" && $("#dayOffInput").val() == "true") {
             var appointmentIDval = $("#appointmentID").val();
             var app = $find("RadScheduler1").get_appointments().findByID(appointmentIDval);
             $find("RadScheduler1").deleteAppointment(app);
         }
          
     }


    About your second issue, one customization to the RadScheduler markup will fit your needs:

    <telerik:RadScheduler runat="server" ID="RadScheduler1"
    .......
     ShowAllDayRow="false"
    ......
    </telerik:RadScheduler>

    I hope this will be helpful.

    Regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  22. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 12 Sep 2012 Link to this post

    for the second question, I need the AllDay row to display the time range indicators unless I can create additional row for the indicators.
    What is the eaiest way to achive this?
    Please refer to the png.
  23. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 13 Sep 2012 Link to this post

    I need to customize the popup for new appointment, so the user is forced to chose either Availability or Preference for the Subject.
    Please advise.
  24. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2061 posts

    Posted 17 Sep 2012 Link to this post

    Hello Allen,

    Creating additional row for range indicators in Week/Multiday View of RadScheduler is not a functionality that is supported out-of-the-box. A possible workaround in your case would be setting appointment end time to 1 minute or so earlier, so it will cover the visible part of the column but it won't be really an all day appointment and you will keep using your AllDay row.

    Customizing of your inline form for adding a new appointment would look like this template:

    //aspx file
    <InlineInsertTemplate>
                <div id="InlineInsertTemplate" class="rsCustomAppointmentContainer technical" runat="server">
                        <ul>
                            <li>
                                <input type="radio" name="DefaultTimeButton" id="Radio1" value="options" onclick="radioListClick('avail');">Available</input>
                            </li>
                            <li>
                                <input type="radio" name="DefaultTimeButton" id="Radio2" value="options" onclick="radioListClick('pref');">Preference</input>
                            </li>
                        </ul>
                        <asp:TextBox ID="TitleTextBox" runat="server" Text='<%# Bind("Subject") %>' Width="90%"
                            TextMode="MultiLine" Height="20px" Style="display: none;"></asp:TextBox>
                        <asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert" Text="Insert">
                        </asp:LinkButton>
                        <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel">
                        </asp:LinkButton>
                </div>
    </InlineInsertTemplate>

    //JavaScript
    function radioListClick(option) {
        var textBox = document.getElementById("RadScheduler1_Form_TitleTextBox");
        if (option == "avail") {
            textBox.value = "Available"
        }
        else {
            textBox.value = "Preference"
        }
     }

    I hope this was helpful.

    Regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  25. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 18 Sep 2012 Link to this post

    We have a new requirement from our business partner.  By double clicking on any spot of the schedule, They want to popup an advanced form to show the 7 day appointments, so the user is able to modify the time ranges of these appointments.  Please refer to the png. If doable, please add the feature to the sample file you sent me earlier.
  26. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2061 posts

    Posted 19 Sep 2012 Link to this post

    Hello Allen,

    I have inspected the image provided but unfortunately such scenario is not supported. Updating of multiple appointments in different days from the Advanced Form can not be achieved out-of-box.

    Hope this information will be helpful.

    Kind regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  27. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 19 Sep 2012 Link to this post

    If I do not use the modal and I only put the pattern on the same page,  will this work?
    Please refer to the png.
  28. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 21 Sep 2012 Link to this post

    I create anothe simple modal.  Can you help me to bind the 7 day appointments and update the schedule?  Please refer to the PNG and the following scripts of the modal:

    <%@ Control Language="VB" AutoEventWireup="true" CodeFile="AdvancedFormVB.ascx.vb"
     Inherits="SchedulerTemplatesVB.AdvancedForm" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <%@ Register TagPrefix="scheduler" TagName="ResourceControl" Src="ResourceControlVB.ascx" %>
    <%@ Register TagPrefix="scheduler" TagName="MultipleValuesResourceControl" Src="MultipleValuesResourceControlVB.ascx" %>
    <div class="rsAdvancedEdit rsAdvancedModal" style="position: relative">
     <div class="rsModalBgTopLeft">
     </div>
     <div class="rsModalBgTopRight">
     </div>
     <div class="rsModalBgBottomLeft">
     </div>
     <div class="rsModalBgBottomRight">
     </div>
     <%-- Title bar. --%>
     <div class="rsAdvTitle">
      <%-- The rsAdvInnerTitle element is used as a drag handle when the form is modal. --%>
      <h1 class="rsAdvInnerTitle" style="text-align: left">
       <%= If((Me.Mode.ToString() = "Edit"), "Edit" + " " + "-" + " " + Me.Subject + "&nbsp;&nbsp;&nbsp" + Me.Appointment.Start.Date, "NEW" + " " + "-" + " " + Me.Subject + "&nbsp;&nbsp;&nbsp" + Me.Appointment.Start.Date)
                 
                %></h1>
      <asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose"
       CommandName="Cancel" CausesValidation="false" ToolTip='<%# Owner.Localization.AdvancedClose %>'>
       <%= Owner.Localization.AdvancedClose %>
      </asp:LinkButton>
     </div>
     <div class="rsAdvContentWrapper">
      <%-- Scroll container - when the form height exceeds MaximumHeight scrollbars will appear on this element--%>
      <div class="rsAdvOptionsScroll">
       <asp:Panel runat="server" ID="AdvancedEditOptionsPanel" CssClass="rsAdvOptions">
                <div>
                <label style="left: 15px; width: 65px; position: absolute; font-weight: bold;">Shift Type:</label>
                <label style="left: 45px; position: relative; font-weight: bold;">Sunday</label>
                <label style="left: 35px; position: relative; font-weight: bold;">Monday</label>
                <label style="left: 30px; position: relative; font-weight: bold;">Tuesday</label>
                <label style="left: 30px; position: relative; font-weight: bold;">Wensday</label>
                <label style="left: 25px; position: relative; font-weight: bold;">Thursday</label>
                <label style="left: 5px; position: relative; font-weight: bold;">Friday</label>
                <label style="left: 15px; position: relative; font-weight: bold;">Saturday</label>
                </div>
                <asp:Panel runat="server" ID="AdvancedControlsPanel" CssClass="rsAdvMoreControls"
                        Width="790px">
         <%--<label>
          Color:
         </label>--%>
         <!--
    -->
         <telerik:RadColorPicker ID="AppointmentColorPicker" runat="server" CssClass="rsAdvResourceValue"
          ShowIcon="true" PaletteModes="WebPalette" Skin="Sunset" Visible="False" Width="2px">
         </telerik:RadColorPicker>
                        <div style="float:left; width: 160px;">
         <asp:Panel runat="server" ID="ResourceControls" Width="160px">
                        <telerik:RadTextBox runat="server" ID="SubjectText" Width="100%" Label='<%# Owner.Localization.AdvancedSubject + ":" %>'
          EnableSingleInputRendering="false" Display="False" />
                        <asp:RequiredFieldValidator runat="server" ID="SubjectValidator" ControlToValidate="SubjectText"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
          <%-- RESOURCE CONTROLS --%>
          <ul class="rsResourceControls">
           <li>
            <!-- Resource controls should follow the convention Res[Resource Name] for ID -->
            <scheduler:ResourceControl runat="server" ID="ResRoom" Type="Room" Label="Room:"
             Skin='<%# Owner.Skin %>' />
           </li>
           <li>
            <scheduler:MultipleValuesResourceControl runat="server" ID="ResUser" Type="User"
             Label="User: " />
           </li>
           <!-- Optionally add more ResourceControl instances here -->
              <telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server" />
                               
                                <ul id="radio" style="left: 8px; width: 100px; text-align: right; position: relative;">
                                <li style="width: 102px; text-align: left;">
                                    <input style="width: 10px; text-align: left;" id="RadioAllDay" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('dayAll');" name="DefaultTimeButton" align="right" value="AllDay" type="radio" _rfddecoratedID="_rfdSkinnedRadioAllDay"><label style="width: 15px; float: right;" id="_rfdSkinnedRadioAllDay" class=" rfdRadioChecked" for="RadioAllDay" unselectable="on" aligment='"right"'>&nbsp;</label>All Day<label for="RadioAllDay"></label>
                                </li>
                                <li style="width: 102px; text-align: left;">
                                    <input style="width: 10px;" id="RadioMorning" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('morning');" name="DefaultTimeButton" align="right" value="Morning" type="radio" _rfddecoratedID="_rfdSkinnedRadioMorning"><label style="width: 15px; float: right;" id="_rfdSkinnedRadioMorning" class=" rfdRadioUnchecked" for="RadioMorning" unselectable="on">&nbsp;</label>Morning<label for="RadioMorning"></label>
                                </li>
                                <li style="width: 102px; text-align: left;">
                                    <input style="width: 10px;" id="RadioEvening" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('evening');" name="DefaultTimeButton" align="right" value="Evening" type="radio" _rfddecoratedID="_rfdSkinnedRadioEvening"><label style="width: 15px; float: right;" id="_rfdSkinnedRadioEvening" class=" rfdRadioUnchecked" for="RadioEvening" unselectable="on">&nbsp;</label>Evening<label for="RadioEvening"></label>
                                </li>
                                <li style="width: 102px; text-align: left;">
                                    <input style="width: 10px;" id="RadioDayOff" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('dayOff');" name="DefaultTimeButton" align="right" value="DayOff" type="radio" _rfddecoratedID="_rfdSkinnedRadioDayOff"><label style="width: 15px; float: right;" id="_rfdSkinnedRadioDayOff" class=" rfdRadioUnchecked" for="RadioDayOff" unselectable="on">&nbsp;</label>Day Off<label for="AllDay"></label>
                                </li>
                                <li style="width: 102px; text-align: left;">
                                    <input style="width: 10px;" id="RadioCustom" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('Manual');" name="DefaultTimeButton" align="right" value="AllDay" type="radio" _rfddecoratedID="_rfdSkinnedRadioCustom"><label style="width: 15px; float: right;" id="_rfdSkinnedRadioCustom" class=" rfdRadioUnchecked" for="RadioCustom" unselectable="on">&nbsp;</label>Custom<label for="RadioCustom"></label>
                                </li>
                            </ul>
                           
          </ul>
         </asp:Panel>
                        </div>
                        <div style="float:left; width: 80px;">
         <asp:Panel runat="server" ID="Panel1" Width="80px">
                        <telerik:RadTextBox runat="server" ID="RadTextBox1" Width="100%" Label='<%# Owner.Localization.AdvancedSubject + ":" %>'
          EnableSingleInputRendering="false" Display="False" />
                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="SubjectText"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
          <%-- RESOURCE CONTROLS --%>
          <ul class="rsResourceControls">
           <li>
            <!-- Resource controls should follow the convention Res[Resource Name] for ID -->
            <scheduler:ResourceControl runat="server" ID="ResourceControl1" Type="Room" Label="Room:"
             Skin='<%# Owner.Skin %>' />
           </li>
           <li>
            <scheduler:MultipleValuesResourceControl runat="server" ID="MultipleValuesResourceControl1" Type="User"
             Label="User: " />
           </li>
           <!-- Optionally add more ResourceControl instances here -->
              <telerik:RadFormDecorator ID="RadFormDecorator2" Runat="server" />
                               
                                <ul style="width: 40px; text-align: right;" id="Ul1">
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px; text-align: left;" id="Radio1" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('dayAll');" name="DefaultTimeButton" align="right" value="AllDay" type="radio" _rfddecoratedID="_rfdSkinnedRadioAllDay"><label style="width: 15px; float: right;" id="Label1" class=" rfdRadioChecked" for="RadioAllDay" aligment='"right"' unselectable="on">&nbsp;</label><label for="RadioAllDay"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio3" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('morning');" name="DefaultTimeButton" align="right" value="Morning" type="radio" _rfddecoratedID="_rfdSkinnedRadioMorning"><label style="width: 15px; float: right;" id="Label3" class=" rfdRadioUnchecked" for="RadioMorning" unselectable="on">&nbsp;</label><label for="RadioMorning"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio4" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('evening');" name="DefaultTimeButton" align="right" value="Evening" type="radio" _rfddecoratedID="_rfdSkinnedRadioEvening"><label style="width: 15px; float: right;" id="Label4" class=" rfdRadioUnchecked" for="RadioEvening" unselectable="on">&nbsp;</label><label for="RadioEvening"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio2" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('dayOff');" name="DefaultTimeButton" align="right" value="DayOff" type="radio" _rfddecoratedID="_rfdSkinnedRadioDayOff"><label style="width: 15px; float: right;" id="Label2" class=" rfdRadioUnchecked" for="RadioDayOff" unselectable="on">&nbsp;</label><label for="AllDay"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio5" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('Manual');" name="DefaultTimeButton" align="right" value="AllDay" type="radio" _rfddecoratedID="_rfdSkinnedRadioCustom"><label style="width: 15px; float: right;" id="Label5" class=" rfdRadioUnchecked" for="RadioCustom" unselectable="on">&nbsp;</label><label for="RadioCustom"></label>
                                </li>
                            </ul>
                           
          </ul>
         </asp:Panel>
                        </div>
                        <div style="float:left; width: 80px;">
         <asp:Panel runat="server" ID="Panel2" Width="80px">
                        <telerik:RadTextBox runat="server" ID="RadTextBox2" Width="100%" Label='<%# Owner.Localization.AdvancedSubject + ":" %>'
          EnableSingleInputRendering="false" Display="False" />
                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator2" ControlToValidate="SubjectText"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
          <%-- RESOURCE CONTROLS --%>
          <ul class="rsResourceControls">
           <li>
            <!-- Resource controls should follow the convention Res[Resource Name] for ID -->
            <scheduler:ResourceControl runat="server" ID="ResourceControl2" Type="Room" Label="Room:"
             Skin='<%# Owner.Skin %>' />
           </li>
           <li>
            <scheduler:MultipleValuesResourceControl runat="server" ID="MultipleValuesResourceControl2" Type="User"
             Label="User: " />
           </li>
           <!-- Optionally add more ResourceControl instances here -->
              <telerik:RadFormDecorator ID="RadFormDecorator3" Runat="server" />
                               
                                <ul style="width: 40px; text-align: right;" id="Ul2">
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px; text-align: left;" id="Radio6" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('dayAll');" name="DefaultTimeButton" align="right" value="AllDay" type="radio" _rfddecoratedID="_rfdSkinnedRadioAllDay"><label style="width: 15px; float: right;" id="Label6" class=" rfdRadioChecked" for="RadioAllDay" aligment='"right"' unselectable="on">&nbsp;</label><label for="RadioAllDay"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio8" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('morning');" name="DefaultTimeButton" align="right" value="Morning" type="radio" _rfddecoratedID="_rfdSkinnedRadioMorning"><label style="width: 15px; float: right;" id="Label8" class=" rfdRadioUnchecked" for="RadioMorning" unselectable="on">&nbsp;</label><label for="RadioMorning"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio9" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('evening');" name="DefaultTimeButton" align="right" value="Evening" type="radio" _rfddecoratedID="_rfdSkinnedRadioEvening"><label style="width: 15px; float: right;" id="Label9" class=" rfdRadioUnchecked" for="RadioEvening" unselectable="on">&nbsp;</label><label for="RadioEvening"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio7" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('dayOff');" name="DefaultTimeButton" align="right" value="DayOff" type="radio" _rfddecoratedID="_rfdSkinnedRadioDayOff"><label style="width: 15px; float: right;" id="Label7" class=" rfdRadioUnchecked" for="RadioDayOff" unselectable="on">&nbsp;</label><label for="AllDay"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio10" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('Manual');" name="DefaultTimeButton" align="right" value="AllDay" type="radio" _rfddecoratedID="_rfdSkinnedRadioCustom"><label style="width: 15px; float: right;" id="Label10" class=" rfdRadioUnchecked" for="RadioCustom" unselectable="on">&nbsp;</label><label for="RadioCustom"></label>
                                </li>
                            </ul>
                           
          </ul>
         </asp:Panel>
                        </div>
                        <div style="float:left; width: 80px;">
         <asp:Panel runat="server" ID="Panel3" Width="80px">
                        <telerik:RadTextBox runat="server" ID="RadTextBox3" Width="100%" Label='<%# Owner.Localization.AdvancedSubject + ":" %>'
          EnableSingleInputRendering="false" Display="False" />
                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator3" ControlToValidate="SubjectText"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
          <%-- RESOURCE CONTROLS --%>
          <ul class="rsResourceControls">
           <li>
            <!-- Resource controls should follow the convention Res[Resource Name] for ID -->
            <scheduler:ResourceControl runat="server" ID="ResourceControl3" Type="Room" Label="Room:"
             Skin='<%# Owner.Skin %>' />
           </li>
           <li>
            <scheduler:MultipleValuesResourceControl runat="server" ID="MultipleValuesResourceControl3" Type="User"
             Label="User: " />
           </li>
           <!-- Optionally add more ResourceControl instances here -->
              <telerik:RadFormDecorator ID="RadFormDecorator4" Runat="server" />
                               
                                <ul style="width: 40px; text-align: right;" id="Ul3">
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px; text-align: left;" id="Radio11" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('dayAll');" name="DefaultTimeButton" align="right" value="AllDay" type="radio" _rfddecoratedID="_rfdSkinnedRadioAllDay"><label style="width: 15px; float: right;" id="Label11" class=" rfdRadioChecked" for="RadioAllDay" aligment='"right"' unselectable="on">&nbsp;</label><label for="RadioAllDay"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio13" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('morning');" name="DefaultTimeButton" align="right" value="Morning" type="radio" _rfddecoratedID="_rfdSkinnedRadioMorning"><label style="width: 15px; float: right;" id="Label13" class=" rfdRadioUnchecked" for="RadioMorning" unselectable="on">&nbsp;</label><label for="RadioMorning"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio14" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('evening');" name="DefaultTimeButton" align="right" value="Evening" type="radio" _rfddecoratedID="_rfdSkinnedRadioEvening"><label style="width: 15px; float: right;" id="Label14" class=" rfdRadioUnchecked" for="RadioEvening" unselectable="on">&nbsp;</label><label for="RadioEvening"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio12" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('dayOff');" name="DefaultTimeButton" align="right" value="DayOff" type="radio" _rfddecoratedID="_rfdSkinnedRadioDayOff"><label style="width: 15px; float: right;" id="Label12" class=" rfdRadioUnchecked" for="RadioDayOff" unselectable="on">&nbsp;</label><label for="AllDay"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio15" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('Manual');" name="DefaultTimeButton" align="right" value="AllDay" type="radio" _rfddecoratedID="_rfdSkinnedRadioCustom"><label style="width: 15px; float: right;" id="Label15" class=" rfdRadioUnchecked" for="RadioCustom" unselectable="on">&nbsp;</label><label for="RadioCustom"></label>
                                </li>
                            </ul>
                           
          </ul>
         </asp:Panel>
                        </div>
                        <div style="float:left; width: 80px;">
         <asp:Panel runat="server" ID="Panel4" Width="80px">
                        <telerik:RadTextBox runat="server" ID="RadTextBox4" Width="100%" Label='<%# Owner.Localization.AdvancedSubject + ":" %>'
          EnableSingleInputRendering="false" Display="False" />
                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator4" ControlToValidate="SubjectText"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
          <%-- RESOURCE CONTROLS --%>
          <ul class="rsResourceControls">
           <li>
            <!-- Resource controls should follow the convention Res[Resource Name] for ID -->
            <scheduler:ResourceControl runat="server" ID="ResourceControl4" Type="Room" Label="Room:"
             Skin='<%# Owner.Skin %>' />
           </li>
           <li>
            <scheduler:MultipleValuesResourceControl runat="server" ID="MultipleValuesResourceControl4" Type="User"
             Label="User: " />
           </li>
           <!-- Optionally add more ResourceControl instances here -->
              <telerik:RadFormDecorator ID="RadFormDecorator5" Runat="server" />
                               
                                <ul style="width: 40px; text-align: right;" id="Ul4">
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px; text-align: left;" id="Radio16" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('dayAll');" name="DefaultTimeButton" align="right" value="AllDay" type="radio" _rfddecoratedID="_rfdSkinnedRadioAllDay"><label style="width: 15px; float: right;" id="Label16" class=" rfdRadioChecked" for="RadioAllDay" aligment='"right"' unselectable="on">&nbsp;</label><label for="RadioAllDay"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio18" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('morning');" name="DefaultTimeButton" align="right" value="Morning" type="radio" _rfddecoratedID="_rfdSkinnedRadioMorning"><label style="width: 15px; float: right;" id="Label18" class=" rfdRadioUnchecked" for="RadioMorning" unselectable="on">&nbsp;</label><label for="RadioMorning"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio19" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('evening');" name="DefaultTimeButton" align="right" value="Evening" type="radio" _rfddecoratedID="_rfdSkinnedRadioEvening"><label style="width: 15px; float: right;" id="Label19" class=" rfdRadioUnchecked" for="RadioEvening" unselectable="on">&nbsp;</label><label for="RadioEvening"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio17" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('dayOff');" name="DefaultTimeButton" align="right" value="DayOff" type="radio" _rfddecoratedID="_rfdSkinnedRadioDayOff"><label style="width: 15px; float: right;" id="Label17" class=" rfdRadioUnchecked" for="RadioDayOff" unselectable="on">&nbsp;</label><label for="AllDay"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio20" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('Manual');" name="DefaultTimeButton" align="right" value="AllDay" type="radio" _rfddecoratedID="_rfdSkinnedRadioCustom"><label style="width: 15px; float: right;" id="Label20" class=" rfdRadioUnchecked" for="RadioCustom" unselectable="on">&nbsp;</label><label for="RadioCustom"></label>
                                </li>
                            </ul>
                           
          </ul>
         </asp:Panel>
                        </div>
                        <div style="float:left; width: 80px;">
         <asp:Panel runat="server" ID="Panel5" Width="80px">
                        <telerik:RadTextBox runat="server" ID="RadTextBox5" Width="100%" Label='<%# Owner.Localization.AdvancedSubject + ":" %>'
          EnableSingleInputRendering="false" Display="False" />
                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator5" ControlToValidate="SubjectText"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
          <%-- RESOURCE CONTROLS --%>
          <ul class="rsResourceControls">
           <li>
            <!-- Resource controls should follow the convention Res[Resource Name] for ID -->
            <scheduler:ResourceControl runat="server" ID="ResourceControl5" Type="Room" Label="Room:"
             Skin='<%# Owner.Skin %>' />
           </li>
           <li>
            <scheduler:MultipleValuesResourceControl runat="server" ID="MultipleValuesResourceControl5" Type="User"
             Label="User: " />
           </li>
           <!-- Optionally add more ResourceControl instances here -->
              <telerik:RadFormDecorator ID="RadFormDecorator6" Runat="server" />
                               
                                <ul style="width: 40px; text-align: right;" id="Ul5">
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px; text-align: left;" id="Radio21" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('dayAll');" name="DefaultTimeButton" align="right" value="AllDay" type="radio" _rfddecoratedID="_rfdSkinnedRadioAllDay"><label style="width: 15px; float: right;" id="Label21" class=" rfdRadioChecked" for="RadioAllDay" aligment='"right"' unselectable="on">&nbsp;</label><label for="RadioAllDay"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio23" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('morning');" name="DefaultTimeButton" align="right" value="Morning" type="radio" _rfddecoratedID="_rfdSkinnedRadioMorning"><label style="width: 15px; float: right;" id="Label23" class=" rfdRadioUnchecked" for="RadioMorning" unselectable="on">&nbsp;</label><label for="RadioMorning"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio24" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('evening');" name="DefaultTimeButton" align="right" value="Evening" type="radio" _rfddecoratedID="_rfdSkinnedRadioEvening"><label style="width: 15px; float: right;" id="Label24" class=" rfdRadioUnchecked" for="RadioEvening" unselectable="on">&nbsp;</label><label for="RadioEvening"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio22" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('dayOff');" name="DefaultTimeButton" align="right" value="DayOff" type="radio" _rfddecoratedID="_rfdSkinnedRadioDayOff"><label style="width: 15px; float: right;" id="Label22" class=" rfdRadioUnchecked" for="RadioDayOff" unselectable="on">&nbsp;</label><label for="AllDay"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio25" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('Manual');" name="DefaultTimeButton" align="right" value="AllDay" type="radio" _rfddecoratedID="_rfdSkinnedRadioCustom"><label style="width: 15px; float: right;" id="Label25" class=" rfdRadioUnchecked" for="RadioCustom" unselectable="on">&nbsp;</label><label for="RadioCustom"></label>
                                </li>
                            </ul>
                           
          </ul>
         </asp:Panel>
                        </div>
                        <div style="float:left; width: 80px;">
         <asp:Panel runat="server" ID="Panel6" Width="80px">
                        <telerik:RadTextBox runat="server" ID="RadTextBox6" Width="100%" Label='<%# Owner.Localization.AdvancedSubject + ":" %>'
          EnableSingleInputRendering="false" Display="False" />
                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator6" ControlToValidate="SubjectText"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
          <%-- RESOURCE CONTROLS --%>
          <ul class="rsResourceControls">
           <li>
            <!-- Resource controls should follow the convention Res[Resource Name] for ID -->
            <scheduler:ResourceControl runat="server" ID="ResourceControl6" Type="Room" Label="Room:"
             Skin='<%# Owner.Skin %>' />
           </li>
           <li>
            <scheduler:MultipleValuesResourceControl runat="server" ID="MultipleValuesResourceControl6" Type="User"
             Label="User: " />
           </li>
           <!-- Optionally add more ResourceControl instances here -->
              <telerik:RadFormDecorator ID="RadFormDecorator7" Runat="server" />
                               
                                <ul style="width: 40px; text-align: right;" id="Ul6">
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px; text-align: left;" id="Radio26" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('dayAll');" name="DefaultTimeButton" align="right" value="AllDay" type="radio" _rfddecoratedID="_rfdSkinnedRadioAllDay"><label style="width: 15px; float: right;" id="Label26" class=" rfdRadioChecked" for="RadioAllDay" aligment='"right"' unselectable="on">&nbsp;</label><label for="RadioAllDay"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio28" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('morning');" name="DefaultTimeButton" align="right" value="Morning" type="radio" _rfddecoratedID="_rfdSkinnedRadioMorning"><label style="width: 15px; float: right;" id="Label28" class=" rfdRadioUnchecked" for="RadioMorning" unselectable="on">&nbsp;</label><label for="RadioMorning"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio29" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('evening');" name="DefaultTimeButton" align="right" value="Evening" type="radio" _rfddecoratedID="_rfdSkinnedRadioEvening"><label style="width: 15px; float: right;" id="Label29" class=" rfdRadioUnchecked" for="RadioEvening" unselectable="on">&nbsp;</label><label for="RadioEvening"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio27" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('dayOff');" name="DefaultTimeButton" align="right" value="DayOff" type="radio" _rfddecoratedID="_rfdSkinnedRadioDayOff"><label style="width: 15px; float: right;" id="Label27" class=" rfdRadioUnchecked" for="RadioDayOff" unselectable="on">&nbsp;</label><label for="AllDay"></label>
                                </li>
                                <li style="width: 20px; text-align: left;">
                                    <input style="width: 15px;" id="Radio30" class="rfdRealInput" tabIndex="0" onclick="changeStartTime('Manual');" name="DefaultTimeButton" align="right" value="AllDay" type="radio" _rfddecoratedID="_rfdSkinnedRadioCustom"><label style="width: 15px; float: right;" id="Label30" class=" rfdRadioUnchecked" for="RadioCustom" unselectable="on">&nbsp;</label><label for="RadioCustom"></label>
                                </li>
                            </ul>
                           
          </ul>
         </asp:Panel>
                        </div>
        </asp:Panel>
                    <div style="float:left; width: 90px;">
        <asp:Panel runat="server" ID="BasicControlsPanel" CssClass="rsAdvBasicControls" OnDataBinding="BasicControlsPanel_DataBinding">
         <ul style="width: 140px; height: 50px; text-align: left;" class="rsTimePickers">
          <li style="width: 140px;" class="rsTimePick">
           <label style="width: 70px; text-align: left; position: relative; left: 7px;"
                                    for='<%= StartDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedFrom %></label><%--
               Leaving a newline here will affect the layout, so we use a comment instead.
            --%><telerik:RadDatePicker runat="server" ID="StartDate" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput2" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%>
                                <telerik:RadTimePicker runat="server" ID="StartTime" CssClass="rsAdvWeekly"
            Width="60px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>' Font-Size="Smaller">
            <DateInput ID="DateInput3" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" Position="relative" left="19px"/>
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView1" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
          <%--<li class="rsTimeZonesWrapper">
           <telerik:RadComboBox runat="server" Visible="true" ID="TimeZonesDropDown" Width="230"
            Label="<%# Owner.Localization.AdvancedTimeZone %>" Skin='<%# Owner.Skin %>'>
           </telerik:RadComboBox>
          </li>--%>
          <li class="rsAllDayWrapper" style="height: 5px">
           <asp:CheckBox runat="server" ID="AllDayEvent" CssClass="rsAdvChkWrap" Checked="false" />
          </li>
          <li class="rsTimePick rsEndTimePick" style="width: 110px;">
           <label style="width: 70px; text-align: left; position: relative; left: 7px;"
                                    for='<%= EndDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedTo%></label><%--
           
            --%><telerik:RadDatePicker runat="server" ID="EndDate" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput4" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="EndTime" CssClass="rsAdvTimePicker"
            Width="60px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput5" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView2" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
         </ul>
         <div class="rsReminderWrapper">
          <telerik:RadComboBox runat="server" ID="ReminderDropDown" Width="120px" Skin='<%# Owner.Skin %>'
           Label="<%# Owner.Localization.Reminder %>" Visible="False">
           <Items>
            <telerik:RadComboBoxItem Text='<%# Owner.Localization.ReminderNone %>' Value="" />
            <telerik:RadComboBoxItem Text='<%# "0 " + Owner.Localization.ReminderMinutes %>'
             Value="0" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderMinutes %>'
             Value="5" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderMinutes %>'
             Value="10" />
            <telerik:RadComboBoxItem Text='<%# "15 " + Owner.Localization.ReminderMinutes %>'
             Value="15" />
            <telerik:RadComboBoxItem Text='<%# "30 " + Owner.Localization.ReminderMinutes %>'
             Value="30" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderHour %>' Value="60" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderHours %>' Value="120" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderHours %>' Value="180" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderHours %>' Value="240" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderHours %>' Value="300" />
            <telerik:RadComboBoxItem Text='<%# "6 " + Owner.Localization.ReminderHours %>' Value="360" />
            <telerik:RadComboBoxItem Text='<%# "7 " + Owner.Localization.ReminderHours %>' Value="420" />
            <telerik:RadComboBoxItem Text='<%# "8 " + Owner.Localization.ReminderHours %>' Value="480" />
            <telerik:RadComboBoxItem Text='<%# "9 " + Owner.Localization.ReminderHours %>' Value="540" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderHours %>' Value="600" />
            <telerik:RadComboBoxItem Text='<%# "11 " + Owner.Localization.ReminderHours %>' Value="660" />
            <telerik:RadComboBoxItem Text='<%# "12 " + Owner.Localization.ReminderHours %>' Value="720" />
            <telerik:RadComboBoxItem Text='<%# "18 " + Owner.Localization.ReminderHours %>' Value="1080" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderDays %>' Value="1440" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderDays %>' Value="2880" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderDays %>' Value="4320" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderDays %>' Value="5760" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderWeek %>' Value="10080" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderWeeks %>' Value="20160" />
           </Items>
          </telerik:RadComboBox>
         </div>
         <asp:RequiredFieldValidator runat="server" ID="StartDateValidator" ControlToValidate="StartDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="StartTimeValidator" ControlToValidate="StartTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="EndDateValidator" ControlToValidate="EndDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="EndTimeValidator" ControlToValidate="EndTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:CustomValidator runat="server" ID="DurationValidator" ControlToValidate="StartDate"
          EnableClientScript="false" Display="Dynamic" CssClass="rsValidatorMsg rsInvalid"
          OnServerValidate="DurationValidator_OnServerValidate" />
        </asp:Panel>
        </div>
                    <div style="float:left; width: 80px;">
        <asp:Panel runat="server" ID="Panel7" CssClass="rsAdvBasicControls" OnDataBinding="BasicControlsPanel_DataBinding">
         <ul style="width: 140px; height: 50px; text-align: left;" class="rsTimePickers">
          <li style="width: 140px;" class="rsTimePick">
           <label style="width: 52px; text-align: left; visibility: hidden;"
                                    for='<%= StartDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedFrom %></label><%--
               Leaving a newline here will affect the layout, so we use a comment instead.
            --%><telerik:RadDatePicker runat="server" ID="RadDatePicker1" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput1" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="RadTimePicker1" CssClass="rsAdvTimePicker"
            Width="60px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput6" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView3" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
          <%--<li class="rsTimeZonesWrapper">
           <telerik:RadComboBox runat="server" Visible="true" ID="TimeZonesDropDown" Width="230"
            Label="<%# Owner.Localization.AdvancedTimeZone %>" Skin='<%# Owner.Skin %>'>
           </telerik:RadComboBox>
          </li>--%>
          <li class="rsAllDayWrapper" style="height: 5px">
           <asp:CheckBox runat="server" ID="CheckBox1" CssClass="rsAdvChkWrap" Checked="false" />
          </li>
          <li class="rsTimePick rsEndTimePick" style="width: 110px;">
           <label style="width: 52px; text-align: left; visibility: hidden;"
                                    for='<%= EndDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedTo%></label><%--
           
            --%><telerik:RadDatePicker runat="server" ID="RadDatePicker2" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput7" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="RadTimePicker2" CssClass="rsAdvTimePicker"
            Width="60px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput8" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView4" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
         </ul>
         <div class="rsReminderWrapper">
          <telerik:RadComboBox runat="server" ID="RadComboBox1" Width="120px" Skin='<%# Owner.Skin %>'
           Label="<%# Owner.Localization.Reminder %>" Visible="False">
           <Items>
            <telerik:RadComboBoxItem Text='<%# Owner.Localization.ReminderNone %>' Value="" />
            <telerik:RadComboBoxItem Text='<%# "0 " + Owner.Localization.ReminderMinutes %>'
             Value="0" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderMinutes %>'
             Value="5" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderMinutes %>'
             Value="10" />
            <telerik:RadComboBoxItem Text='<%# "15 " + Owner.Localization.ReminderMinutes %>'
             Value="15" />
            <telerik:RadComboBoxItem Text='<%# "30 " + Owner.Localization.ReminderMinutes %>'
             Value="30" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderHour %>' Value="60" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderHours %>' Value="120" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderHours %>' Value="180" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderHours %>' Value="240" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderHours %>' Value="300" />
            <telerik:RadComboBoxItem Text='<%# "6 " + Owner.Localization.ReminderHours %>' Value="360" />
            <telerik:RadComboBoxItem Text='<%# "7 " + Owner.Localization.ReminderHours %>' Value="420" />
            <telerik:RadComboBoxItem Text='<%# "8 " + Owner.Localization.ReminderHours %>' Value="480" />
            <telerik:RadComboBoxItem Text='<%# "9 " + Owner.Localization.ReminderHours %>' Value="540" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderHours %>' Value="600" />
            <telerik:RadComboBoxItem Text='<%# "11 " + Owner.Localization.ReminderHours %>' Value="660" />
            <telerik:RadComboBoxItem Text='<%# "12 " + Owner.Localization.ReminderHours %>' Value="720" />
            <telerik:RadComboBoxItem Text='<%# "18 " + Owner.Localization.ReminderHours %>' Value="1080" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderDays %>' Value="1440" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderDays %>' Value="2880" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderDays %>' Value="4320" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderDays %>' Value="5760" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderWeek %>' Value="10080" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderWeeks %>' Value="20160" />
           </Items>
          </telerik:RadComboBox>
         </div>
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator7" ControlToValidate="StartDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator8" ControlToValidate="StartTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator9" ControlToValidate="EndDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator10" ControlToValidate="EndTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:CustomValidator runat="server" ID="CustomValidator1" ControlToValidate="StartDate"
          EnableClientScript="false" Display="Dynamic" CssClass="rsValidatorMsg rsInvalid"
          OnServerValidate="DurationValidator_OnServerValidate" />
        </asp:Panel>
        </div>
                    <div style="float:left; width: 80px;">
        <asp:Panel runat="server" ID="Panel8" CssClass="rsAdvBasicControls" OnDataBinding="BasicControlsPanel_DataBinding">
         <ul style="width: 140px; height: 50px; text-align: left;" class="rsTimePickers">
          <li style="width: 140px;" class="rsTimePick">
           <label style="width: 52px; text-align: left; visibility: hidden;"
                                    for='<%= StartDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedFrom %></label><%--
               Leaving a newline here will affect the layout, so we use a comment instead.
            --%><telerik:RadDatePicker runat="server" ID="RadDatePicker3" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput9" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="RadTimePicker3" CssClass="rsAdvTimePicker"
            Width="60px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput10" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView5" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
          <%--<li class="rsTimeZonesWrapper">
           <telerik:RadComboBox runat="server" Visible="true" ID="TimeZonesDropDown" Width="230"
            Label="<%# Owner.Localization.AdvancedTimeZone %>" Skin='<%# Owner.Skin %>'>
           </telerik:RadComboBox>
          </li>--%>
          <li class="rsAllDayWrapper" style="height: 5px">
           <asp:CheckBox runat="server" ID="CheckBox2" CssClass="rsAdvChkWrap" Checked="false" />
          </li>
          <li class="rsTimePick rsEndTimePick" style="width: style="width: 52px; text-align: left; visibility: hidden;"  110px;">
           <label style="width: 52px; text-align: left; visibility: hidden;"
                                    for='<%= EndDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedTo%></label><%--
           
            --%><telerik:RadDatePicker runat="server" ID="RadDatePicker4" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput11" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="RadTimePicker4" CssClass="rsAdvTimePicker"
            Width="60px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput12" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView6" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
         </ul>
         <div class="rsReminderWrapper">
          <telerik:RadComboBox runat="server" ID="RadComboBox2" Width="120px" Skin='<%# Owner.Skin %>'
           Label="<%# Owner.Localization.Reminder %>" Visible="False">
           <Items>
            <telerik:RadComboBoxItem Text='<%# Owner.Localization.ReminderNone %>' Value="" />
            <telerik:RadComboBoxItem Text='<%# "0 " + Owner.Localization.ReminderMinutes %>'
             Value="0" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderMinutes %>'
             Value="5" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderMinutes %>'
             Value="10" />
            <telerik:RadComboBoxItem Text='<%# "15 " + Owner.Localization.ReminderMinutes %>'
             Value="15" />
            <telerik:RadComboBoxItem Text='<%# "30 " + Owner.Localization.ReminderMinutes %>'
             Value="30" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderHour %>' Value="60" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderHours %>' Value="120" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderHours %>' Value="180" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderHours %>' Value="240" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderHours %>' Value="300" />
            <telerik:RadComboBoxItem Text='<%# "6 " + Owner.Localization.ReminderHours %>' Value="360" />
            <telerik:RadComboBoxItem Text='<%# "7 " + Owner.Localization.ReminderHours %>' Value="420" />
            <telerik:RadComboBoxItem Text='<%# "8 " + Owner.Localization.ReminderHours %>' Value="480" />
            <telerik:RadComboBoxItem Text='<%# "9 " + Owner.Localization.ReminderHours %>' Value="540" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderHours %>' Value="600" />
            <telerik:RadComboBoxItem Text='<%# "11 " + Owner.Localization.ReminderHours %>' Value="660" />
            <telerik:RadComboBoxItem Text='<%# "12 " + Owner.Localization.ReminderHours %>' Value="720" />
            <telerik:RadComboBoxItem Text='<%# "18 " + Owner.Localization.ReminderHours %>' Value="1080" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderDays %>' Value="1440" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderDays %>' Value="2880" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderDays %>' Value="4320" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderDays %>' Value="5760" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderWeek %>' Value="10080" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderWeeks %>' Value="20160" />
           </Items>
          </telerik:RadComboBox>
         </div>
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator11" ControlToValidate="StartDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator12" ControlToValidate="StartTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator13" ControlToValidate="EndDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator14" ControlToValidate="EndTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:CustomValidator runat="server" ID="CustomValidator2" ControlToValidate="StartDate"
          EnableClientScript="false" Display="Dynamic" CssClass="rsValidatorMsg rsInvalid"
          OnServerValidate="DurationValidator_OnServerValidate" />
        </asp:Panel>
        </div>
                    <div style="float:left; width: 80px;">
        <asp:Panel runat="server" ID="Panel9" CssClass="rsAdvBasicControls" OnDataBinding="BasicControlsPanel_DataBinding">
         <ul style="width: 140px; height: 50px; text-align: left;" class="rsTimePickers">
          <li style="width: 140px;" class="rsTimePick">
           <label style="width: 52px; text-align: left; visibility: hidden;"
                                    for='<%= StartDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedFrom %></label><%--
               Leaving a newline here will affect the layout, so we use a comment instead.
            --%><telerik:RadDatePicker runat="server" ID="RadDatePicker5" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput13" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="RadTimePicker5" CssClass="rsAdvTimePicker"
            Width="60px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput14" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false"/>
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView7" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
          <%--<li class="rsTimeZonesWrapper">
           <telerik:RadComboBox runat="server" Visible="true" ID="TimeZonesDropDown" Width="230"
            Label="<%# Owner.Localization.AdvancedTimeZone %>" Skin='<%# Owner.Skin %>'>
           </telerik:RadComboBox>
          </li>--%>
          <li class="rsAllDayWrapper" style="height: 5px">
           <asp:CheckBox runat="server" ID="CheckBox3" CssClass="rsAdvChkWrap" Checked="false" />
          </li>
          <li class="rsTimePick rsEndTimePick" style="width: 110px;">
           <label style="width: 52px; text-align: left; visibility: hidden;" for='<%= EndDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedTo%></label><%--
           
            --%><telerik:RadDatePicker runat="server" ID="RadDatePicker6" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput15" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="RadTimePicker6" CssClass="rsAdvTimePicker"
            Width="60px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput16" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView8" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
         </ul>
         <div class="rsReminderWrapper">
          <telerik:RadComboBox runat="server" ID="RadComboBox3" Width="120px" Skin='<%# Owner.Skin %>'
           Label="<%# Owner.Localization.Reminder %>" Visible="False">
           <Items>
            <telerik:RadComboBoxItem Text='<%# Owner.Localization.ReminderNone %>' Value="" />
            <telerik:RadComboBoxItem Text='<%# "0 " + Owner.Localization.ReminderMinutes %>'
             Value="0" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderMinutes %>'
             Value="5" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderMinutes %>'
             Value="10" />
            <telerik:RadComboBoxItem Text='<%# "15 " + Owner.Localization.ReminderMinutes %>'
             Value="15" />
            <telerik:RadComboBoxItem Text='<%# "30 " + Owner.Localization.ReminderMinutes %>'
             Value="30" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderHour %>' Value="60" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderHours %>' Value="120" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderHours %>' Value="180" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderHours %>' Value="240" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderHours %>' Value="300" />
            <telerik:RadComboBoxItem Text='<%# "6 " + Owner.Localization.ReminderHours %>' Value="360" />
            <telerik:RadComboBoxItem Text='<%# "7 " + Owner.Localization.ReminderHours %>' Value="420" />
            <telerik:RadComboBoxItem Text='<%# "8 " + Owner.Localization.ReminderHours %>' Value="480" />
            <telerik:RadComboBoxItem Text='<%# "9 " + Owner.Localization.ReminderHours %>' Value="540" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderHours %>' Value="600" />
            <telerik:RadComboBoxItem Text='<%# "11 " + Owner.Localization.ReminderHours %>' Value="660" />
            <telerik:RadComboBoxItem Text='<%# "12 " + Owner.Localization.ReminderHours %>' Value="720" />
            <telerik:RadComboBoxItem Text='<%# "18 " + Owner.Localization.ReminderHours %>' Value="1080" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderDays %>' Value="1440" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderDays %>' Value="2880" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderDays %>' Value="4320" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderDays %>' Value="5760" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderWeek %>' Value="10080" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderWeeks %>' Value="20160" />
           </Items>
          </telerik:RadComboBox>
         </div>
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator15" ControlToValidate="StartDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator16" ControlToValidate="StartTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator17" ControlToValidate="EndDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator18" ControlToValidate="EndTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:CustomValidator runat="server" ID="CustomValidator3" ControlToValidate="StartDate"
          EnableClientScript="false" Display="Dynamic" CssClass="rsValidatorMsg rsInvalid"
          OnServerValidate="DurationValidator_OnServerValidate" />
        </asp:Panel>
        </div>
                    <div style="float:left; width: 80px;">
        <asp:Panel runat="server" ID="Panel10" CssClass="rsAdvBasicControls" OnDataBinding="BasicControlsPanel_DataBinding">
         <ul style="width: 140px; height: 50px; text-align: left;" class="rsTimePickers">
          <li style="width: 140px;" class="rsTimePick">
           <label style="width: 52px; text-align: left; visibility: hidden;" for='<%= StartDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedFrom %></label><%--
               Leaving a newline here will affect the layout, so we use a comment instead.
            --%><telerik:RadDatePicker runat="server" ID="RadDatePicker7" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput17" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="RadTimePicker7" CssClass="rsAdvTimePicker"
            Width="60px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput18" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView9" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
          <%--<li class="rsTimeZonesWrapper">
           <telerik:RadComboBox runat="server" Visible="true" ID="TimeZonesDropDown" Width="230"
            Label="<%# Owner.Localization.AdvancedTimeZone %>" Skin='<%# Owner.Skin %>'>
           </telerik:RadComboBox>
          </li>--%>
          <li class="rsAllDayWrapper" style="height: 5px">
           <asp:CheckBox runat="server" ID="CheckBox4" CssClass="rsAdvChkWrap" Checked="false" />
          </li>
          <li class="rsTimePick rsEndTimePick" style="width: 110px;">
           <label style="width: 52px; text-align: left; visibility: hidden;" for='<%= EndDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedTo%></label><%--
           
            --%><telerik:RadDatePicker runat="server" ID="RadDatePicker8" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput19" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="RadTimePicker8" CssClass="rsAdvTimePicker"
            Width="60px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput20" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView10" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
         </ul>
         <div class="rsReminderWrapper">
          <telerik:RadComboBox runat="server" ID="RadComboBox4" Width="120px" Skin='<%# Owner.Skin %>'
           Label="<%# Owner.Localization.Reminder %>" Visible="False">
           <Items>
            <telerik:RadComboBoxItem Text='<%# Owner.Localization.ReminderNone %>' Value="" />
            <telerik:RadComboBoxItem Text='<%# "0 " + Owner.Localization.ReminderMinutes %>'
             Value="0" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderMinutes %>'
             Value="5" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderMinutes %>'
             Value="10" />
            <telerik:RadComboBoxItem Text='<%# "15 " + Owner.Localization.ReminderMinutes %>'
             Value="15" />
            <telerik:RadComboBoxItem Text='<%# "30 " + Owner.Localization.ReminderMinutes %>'
             Value="30" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderHour %>' Value="60" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderHours %>' Value="120" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderHours %>' Value="180" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderHours %>' Value="240" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderHours %>' Value="300" />
            <telerik:RadComboBoxItem Text='<%# "6 " + Owner.Localization.ReminderHours %>' Value="360" />
            <telerik:RadComboBoxItem Text='<%# "7 " + Owner.Localization.ReminderHours %>' Value="420" />
            <telerik:RadComboBoxItem Text='<%# "8 " + Owner.Localization.ReminderHours %>' Value="480" />
            <telerik:RadComboBoxItem Text='<%# "9 " + Owner.Localization.ReminderHours %>' Value="540" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderHours %>' Value="600" />
            <telerik:RadComboBoxItem Text='<%# "11 " + Owner.Localization.ReminderHours %>' Value="660" />
            <telerik:RadComboBoxItem Text='<%# "12 " + Owner.Localization.ReminderHours %>' Value="720" />
            <telerik:RadComboBoxItem Text='<%# "18 " + Owner.Localization.ReminderHours %>' Value="1080" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderDays %>' Value="1440" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderDays %>' Value="2880" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderDays %>' Value="4320" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderDays %>' Value="5760" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderWeek %>' Value="10080" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderWeeks %>' Value="20160" />
           </Items>
          </telerik:RadComboBox>
         </div>
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator19" ControlToValidate="StartDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator20" ControlToValidate="StartTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator21" ControlToValidate="EndDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator22" ControlToValidate="EndTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:CustomValidator runat="server" ID="CustomValidator4" ControlToValidate="StartDate"
          EnableClientScript="false" Display="Dynamic" CssClass="rsValidatorMsg rsInvalid"
          OnServerValidate="DurationValidator_OnServerValidate" />
        </asp:Panel>
        </div>
                    <div style="float:left; width: 80px;">
        <asp:Panel runat="server" ID="Panel11" CssClass="rsAdvBasicControls" OnDataBinding="BasicControlsPanel_DataBinding">
         <ul style="width: 140px; height: 50px; text-align: left;" class="rsTimePickers">
          <li style="width: 140px;" class="rsTimePick">
           <label style="width: 52px; text-align: left; visibility: hidden;" for='<%= StartDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedFrom %></label><%--
               Leaving a newline here will affect the layout, so we use a comment instead.
            --%><telerik:RadDatePicker runat="server" ID="RadDatePicker9" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput21" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="RadTimePicker9" CssClass="rsAdvTimePicker"
            Width="60px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput22" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView11" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
          <%--<li class="rsTimeZonesWrapper">
           <telerik:RadComboBox runat="server" Visible="true" ID="TimeZonesDropDown" Width="230"
            Label="<%# Owner.Localization.AdvancedTimeZone %>" Skin='<%# Owner.Skin %>'>
           </telerik:RadComboBox>
          </li>--%>
          <li class="rsAllDayWrapper" style="height: 5px">
           <asp:CheckBox runat="server" ID="CheckBox5" CssClass="rsAdvChkWrap" Checked="false" />
          </li>
          <li class="rsTimePick rsEndTimePick" style="width: 110px;">
           <label style="width: 52px; text-align: left; visibility: hidden;" for='<%= EndDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedTo%></label><%--
           
            --%><telerik:RadDatePicker runat="server" ID="RadDatePicker10" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput23" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="RadTimePicker10" CssClass="rsAdvTimePicker"
            Width="60px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput24" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView12" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
         </ul>
         <div class="rsReminderWrapper">
          <telerik:RadComboBox runat="server" ID="RadComboBox5" Width="120px" Skin='<%# Owner.Skin %>'
           Label="<%# Owner.Localization.Reminder %>" Visible="False">
           <Items>
            <telerik:RadComboBoxItem Text='<%# Owner.Localization.ReminderNone %>' Value="" />
            <telerik:RadComboBoxItem Text='<%# "0 " + Owner.Localization.ReminderMinutes %>'
             Value="0" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderMinutes %>'
             Value="5" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderMinutes %>'
             Value="10" />
            <telerik:RadComboBoxItem Text='<%# "15 " + Owner.Localization.ReminderMinutes %>'
             Value="15" />
            <telerik:RadComboBoxItem Text='<%# "30 " + Owner.Localization.ReminderMinutes %>'
             Value="30" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderHour %>' Value="60" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderHours %>' Value="120" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderHours %>' Value="180" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderHours %>' Value="240" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderHours %>' Value="300" />
            <telerik:RadComboBoxItem Text='<%# "6 " + Owner.Localization.ReminderHours %>' Value="360" />
            <telerik:RadComboBoxItem Text='<%# "7 " + Owner.Localization.ReminderHours %>' Value="420" />
            <telerik:RadComboBoxItem Text='<%# "8 " + Owner.Localization.ReminderHours %>' Value="480" />
            <telerik:RadComboBoxItem Text='<%# "9 " + Owner.Localization.ReminderHours %>' Value="540" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderHours %>' Value="600" />
            <telerik:RadComboBoxItem Text='<%# "11 " + Owner.Localization.ReminderHours %>' Value="660" />
            <telerik:RadComboBoxItem Text='<%# "12 " + Owner.Localization.ReminderHours %>' Value="720" />
            <telerik:RadComboBoxItem Text='<%# "18 " + Owner.Localization.ReminderHours %>' Value="1080" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderDays %>' Value="1440" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderDays %>' Value="2880" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderDays %>' Value="4320" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderDays %>' Value="5760" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderWeek %>' Value="10080" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderWeeks %>' Value="20160" />
           </Items>
          </telerik:RadComboBox>
         </div>
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator23" ControlToValidate="StartDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator24" ControlToValidate="StartTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator25" ControlToValidate="EndDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator26" ControlToValidate="EndTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:CustomValidator runat="server" ID="CustomValidator5" ControlToValidate="StartDate"
          EnableClientScript="false" Display="Dynamic" CssClass="rsValidatorMsg rsInvalid"
          OnServerValidate="DurationValidator_OnServerValidate" />
        </asp:Panel>
        </div>
                    <div style="float:left; width: 80px;">
        <asp:Panel runat="server" ID="Panel12" CssClass="rsAdvBasicControls" OnDataBinding="BasicControlsPanel_DataBinding">
         <ul style="width: 140px; height: 50px; text-align: left;" class="rsTimePickers">
          <li style="width: 140px;" class="rsTimePick">
           <label style="width: 52px; text-align: left; visibility: hidden;" for='<%= StartDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedFrom %></label><%--
               Leaving a newline here will affect the layout, so we use a comment instead.
            --%><telerik:RadDatePicker runat="server" ID="RadDatePicker11" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput25" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="RadTimePicker11" CssClass="rsAdvTimePicker"
            Width="60px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput26" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView13" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
          <%--<li class="rsTimeZonesWrapper">
           <telerik:RadComboBox runat="server" Visible="true" ID="TimeZonesDropDown" Width="230"
            Label="<%# Owner.Localization.AdvancedTimeZone %>" Skin='<%# Owner.Skin %>'>
           </telerik:RadComboBox>
          </li>--%>
          <li class="rsAllDayWrapper" style="height: 5px">
           <asp:CheckBox runat="server" ID="CheckBox6" CssClass="rsAdvChkWrap" Checked="false" />
          </li>
          <li class="rsTimePick rsEndTimePick" style="width: 110px;">
           <label style="width: 52px; text-align: left; visibility: hidden;" for='<%= EndDate.ClientID %>_dateInput_text'>
            <%= Owner.Localization.AdvancedTo%></label><%--
           
            --%><telerik:RadDatePicker runat="server" ID="RadDatePicker12" CssClass="rsAdvDatePicker"
             Width="83px" SharedCalendarID="SharedCalendar" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
             MinDate="1900-01-01">
             <DatePopupButton Visible="False" />
             <DateInput ID="DateInput27" runat="server" DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
              EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false" />
            </telerik:RadDatePicker>
           <%--
           
           --%><telerik:RadTimePicker runat="server" ID="RadTimePicker12" CssClass="rsAdvTimePicker"
            Width="60px" Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
            <DateInput ID="DateInput28" runat="server" EmptyMessageStyle-CssClass="riError" EmptyMessage=" "
             EnableSingleInputRendering="false" />
            <TimePopupButton Visible="false" />
            <TimeView ID="TimeView14" runat="server" Columns="2" ShowHeader="false" StartTime="08:00"
             EndTime="18:00" Interval="00:30" />
           </telerik:RadTimePicker>
          </li>
         </ul>
         <div class="rsReminderWrapper">
          <telerik:RadComboBox runat="server" ID="RadComboBox6" Width="120px" Skin='<%# Owner.Skin %>'
           Label="<%# Owner.Localization.Reminder %>" Visible="False">
           <Items>
            <telerik:RadComboBoxItem Text='<%# Owner.Localization.ReminderNone %>' Value="" />
            <telerik:RadComboBoxItem Text='<%# "0 " + Owner.Localization.ReminderMinutes %>'
             Value="0" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderMinutes %>'
             Value="5" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderMinutes %>'
             Value="10" />
            <telerik:RadComboBoxItem Text='<%# "15 " + Owner.Localization.ReminderMinutes %>'
             Value="15" />
            <telerik:RadComboBoxItem Text='<%# "30 " + Owner.Localization.ReminderMinutes %>'
             Value="30" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderHour %>' Value="60" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderHours %>' Value="120" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderHours %>' Value="180" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderHours %>' Value="240" />
            <telerik:RadComboBoxItem Text='<%# "5 " + Owner.Localization.ReminderHours %>' Value="300" />
            <telerik:RadComboBoxItem Text='<%# "6 " + Owner.Localization.ReminderHours %>' Value="360" />
            <telerik:RadComboBoxItem Text='<%# "7 " + Owner.Localization.ReminderHours %>' Value="420" />
            <telerik:RadComboBoxItem Text='<%# "8 " + Owner.Localization.ReminderHours %>' Value="480" />
            <telerik:RadComboBoxItem Text='<%# "9 " + Owner.Localization.ReminderHours %>' Value="540" />
            <telerik:RadComboBoxItem Text='<%# "10 " + Owner.Localization.ReminderHours %>' Value="600" />
            <telerik:RadComboBoxItem Text='<%# "11 " + Owner.Localization.ReminderHours %>' Value="660" />
            <telerik:RadComboBoxItem Text='<%# "12 " + Owner.Localization.ReminderHours %>' Value="720" />
            <telerik:RadComboBoxItem Text='<%# "18 " + Owner.Localization.ReminderHours %>' Value="1080" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderDays %>' Value="1440" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderDays %>' Value="2880" />
            <telerik:RadComboBoxItem Text='<%# "3 " + Owner.Localization.ReminderDays %>' Value="4320" />
            <telerik:RadComboBoxItem Text='<%# "4 " + Owner.Localization.ReminderDays %>' Value="5760" />
            <telerik:RadComboBoxItem Text='<%# "1 " + Owner.Localization.ReminderWeek %>' Value="10080" />
            <telerik:RadComboBoxItem Text='<%# "2 " + Owner.Localization.ReminderWeeks %>' Value="20160" />
           </Items>
          </telerik:RadComboBox>
         </div>
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator27" ControlToValidate="StartDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator28" ControlToValidate="StartTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator29" ControlToValidate="EndDate"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator30" ControlToValidate="EndTime"
          EnableClientScript="true" Display="None" CssClass="rsValidatorMsg" />
         <asp:CustomValidator runat="server" ID="CustomValidator6" ControlToValidate="StartDate"
          EnableClientScript="false" Display="Dynamic" CssClass="rsValidatorMsg rsInvalid"
          OnServerValidate="DurationValidator_OnServerValidate" />
        </asp:Panel>
        </div>

        <telerik:RadTextBox runat="server" ID="DescriptionText" TextMode="MultiLine" Columns="50"
         Rows="5" Width="100%" Label='<%# Owner.Localization.AdvancedDescription + ":" %>'
         Text='<%# Eval("Description") %>' EnableSingleInputRendering="false" Visible="False" />
        <span class="rsAdvResetExceptions">
         <asp:LinkButton runat="server" ID="ResetExceptions" OnClick="ResetExceptions_OnClick" />
        </span>
        <telerik:RadSchedulerRecurrenceEditor runat="server" ID="AppointmentRecurrenceEditor" />
        <asp:HiddenField runat="server" ID="OriginalRecurrenceRule" />
        <telerik:RadCalendar runat="server" ID="SharedCalendar" Skin='<%# Owner.Skin %>'
         CultureInfo='<%# Owner.Culture %>' ShowRowHeaders="false" RangeMinDate="1900-01-01" />
       </asp:Panel>
      </div>
      <asp:Panel runat="server" ID="ButtonsPanel" CssClass="rsAdvancedSubmitArea">
       <div class="rsAdvButtonWrapper">
        <asp:LinkButton runat="server" ID="UpdateButton" CssClass="rsAdvEditSave">
         <span><%= Owner.Localization.Save %></span>
        </asp:LinkButton>
        <asp:LinkButton runat="server" ID="CancelButton" CssClass="rsAdvEditCancel" CommandName="Cancel"
         CausesValidation="false">
         <span><%= Owner.Localization.Cancel %></span>
        </asp:LinkButton>
       </div>
      </asp:Panel>
     </div>
    </div>


  29. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2061 posts

    Posted 24 Sep 2012 Link to this post

    Hello Allen,

    I have inspected the image provided once again but I can clarify once again that updating many appointments at the same time is not supported by RadScheduler. One possible solution for your  scenario may be if you put a pattern on the same page and update each appointment separately without using the Advanced Form. You can find each one of the with the help of getAppointmentsInRange function and update them by using updateAppointment as it is explained in this help topic.

    Hope this will explain the issue and be helpful.

    Regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  30. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 24 Sep 2012 Link to this post

    I have read the help topic.  Is it possible that I use the modal that I created (7 day pattern) and I will create a function to read the Appointment.xml and display all the 7 day appointments on the modal, then create another function to update the 7 day pattern in the xml when user clicks the Save button.  As I know every time I update / cancel the modal,  the scheduler will get reloaded and read the xml for updating all of the appointments (maximum 7 Preference and 7 Availability) in that week. 
    We are now in a phase of whether to use Telerik Scheduler or drop this project because our management level insists that they need a 7 day pattern to update all the appointments at the same time due to user friendly concern.  If it is doable, please provide instruction.  If not, please provide explaination on why it is not doable.  I need to report to the management level for decision making purpose.   Thanks a lot.
Back to Top