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

RadScheduler - Customized Advanced Template

1 Answer 40 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 17 Aug 2011, 08:36 PM
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>

1 Answer, 1 is accepted

Sort by
0
Accepted
Plamen
Telerik team
answered on 22 Aug 2011, 01:47 PM
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 >>

Tags
Scheduler
Asked by
Richard
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or