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

My Own Advanced Form

1 Answer 97 Views
Scheduler
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"
        SelectedView="MonthView">
        <AdvancedForm Modal="true" enablecustomattributeediting="True" />
        <TimelineView UserSelectable="false" />
        <TimeSlotContextMenuSettings EnableDefault="true" />
        <AppointmentContextMenuSettings EnableDefault="true" />
        <AdvancedInsertTemplate>
            <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm" Mode="Insert" />
        </AdvancedInsertTemplate>
        <AdvancedEditTemplate>
            <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm" Mode="Edit" />
        </AdvancedEditTemplate>
    </telerik:RadScheduler>

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
0
Veronica
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">
   <Scripts>
       <asp:ScriptReference Path="~/Modified_AddedDescription/CS/AdvancedForm.js" />
   </Scripts>
</asp:ScriptManager>

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.

Greetings,
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
Tags
Scheduler
Asked by
Brian Wong
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Share this question
or