RadScheduler - Customized Advanced Template

2 posts, 1 answers
  1. Richard
    Richard avatar
    20 posts
    Member since:
    Sep 2010

    Posted 17 Aug 2011 Link to this post

    I have a customized AdvancedEditTemplate with custom fields built directly into the template.  However, I would like to implement the 'alldayevent' checkbox.  With the below code, is it possible to implement the 'alldayevent' checkbox?
    <div class="qsfexAdvEditControlWrapper">
        <telerik:RadTextBox ID="RadTextBox1" runat="server" Text='<%# Bind("Subject") %>' 
            Skin="Office2007" BorderStyle="Solid" Width="95%" Label="Subject:">
        </telerik:RadTextBox><br /><br />
        <asp:Label ID="Label2" AssociatedControlID="RadDateTimePicker3" runat="server">Start time:</asp:Label>
        <telerik:RadDateTimePicker ID="RadDateTimePicker3" runat="server" SelectedDate='<%# Bind("Start") %>' Skin="Office2007"
            EnableTyping="false" TimeView-Interval="00:15:00" TimeView-Height="300px" TimeView-Columns="4">
        </telerik:RadDateTimePicker>   
        <asp:Label ID="Label3" AssociatedControlID="RadDateTimePicker4" runat="server">End time:</asp:Label>
        <telerik:RadDateTimePicker ID="RadDateTimePicker4" runat="server" SelectedDate='<%# Bind("End") %>' Skin="Office2007"
            EnableTyping="false" TimeView-Interval="00:15:00" TimeView-Height="300px" TimeView-Columns="4">
        </telerik:RadDateTimePicker>
        <telerik:RadSchedulerRecurrenceEditor ID="RecurrenceEditor1" runat="server"/>
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Width="250px" Height="750px" ></telerik:RadWindowManager>
        <br /><br />
        <telerik:RadTextBox ID="RadTextBox2" runat="server" Text='<%# Bind("Description") %>'
            Skin="Office2007" BorderStyle="Solid" Width="95%" Columns="20" Rows="5" TextMode="MultiLine" Label="Description:">
        </telerik:RadTextBox><br /><br />
        <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("intGroupID") %>' Visible="false" Width="0" Height="0" />
        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("ID") %>' Visible="false" Width="0" Height="0" />
        <asp:TextBox ID="txtUsersListEd" Text='<%# Bind("Users") %>' runat="server" Visible="false" Width="0" Height="0" />
    </div>
  2. Answer
    Plamen
    Admin
    Plamen avatar
    2933 posts

    Posted 22 Aug 2011 Link to this post

    Hello Richard,

    IsAllDayEvent is not a property of the appointment. You can see use a workarund as in the Advanced Template demo where in the AdvancedFormCS user conrol the "AllDayEvent" checkbox is set in the IsAllDayAppointment() method.

    Hope this is helpful.

    Kind regards, Plamen Zdravkov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top