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

My Own Advanced Form

1 Answer 97 Views
This is a migrated thread and some comments may be shown as answers.
Brian Wong
Top achievements
Rank 1
Brian Wong asked on 30 Jun 2010, 02:02 AM
I have created my own advanced form "AdvancedForm.ascx"

At the top of my .aspx file i have put:

<%@ Register TagPrefix="scheduler" TagName="AdvancedForm" Src="~/admin/Scheduler/AdvancedForm.ascx" %>

Then further down in the scheduler i have put the following:

    <telerik:RadScheduler ID="RadScheduler1" runat="server" Width="100%" Height="100%"
        DataKeyField="ScheduleID" DataSubjectField="Subject" DataStartField="TimeStart"
        DataEndField="TimeEnd" Skin="WebBlue" ShowFooter="False" StartInsertingInAdvancedForm="True"
        OnClientFormCreated="schedulerFormCreated" OnAppointmentInsert="RadScheduler1_AppointmentInsert"
        OnAppointmentDelete="RadScheduler1_AppointmentDelete" OnAppointmentUpdate="RadScheduler1_AppointmentUpdate"
        <AdvancedForm Modal="true" enablecustomattributeediting="True" />
        <TimelineView UserSelectable="false" />
        <TimeSlotContextMenuSettings EnableDefault="true" />
        <AppointmentContextMenuSettings EnableDefault="true" />
            <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm" Mode="Insert" />
            <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm" Mode="Edit" />

Is anyone able to tell me whey when i double click on the scheduler in run-time i.e. add appointment, nothing happens? That is the advanced form control is not popping up.

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 01 Jul 2010, 02:54 PM
Hello Brian Wong,

Have you registered the AdvancedForm.js with the script manager for the page? For example:

<asp:ScriptManager ID="ScriptManager1" runat="server">
       <asp:ScriptReference Path="~/Modified_AddedDescription/CS/AdvancedForm.js" />

You can read about customizing the Advanced Form Template in this help topic.
Also there is a demo here. and Knowledge Base Article with sample project here.

Hope this helps.

Veronica Milcheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Brian Wong
Top achievements
Rank 1
Answers by
Telerik team
Share this question