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

[Solved] Fire appointment insert from outside RadScheduler control

2 Answers 110 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Andrei Palvinski
Top achievements
Rank 1
Andrei Palvinski asked on 24 Oct 2009, 01:49 AM
I need to simulate a new appointment insert by clicking on a button that is outside of RadScheduler control?

I have advanced Insert/Edit templete. Tried  showInsertFormAt, but for some reasons id did not display Advanced insert form.

Thank you!

2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 28 Oct 2009, 11:24 AM
Hello Andrei,

The following should work:
protected void Button1_Click(object sender, EventArgs e)
    {
        RadScheduler1.ShowAdvancedInsertForm(new DateTime(2009, 10,28, 10, 0, 0));
    }

However, if you advanced form is modal (<AdvancedForm Modal="true" />), then you need to use the following help topic:
http://www.telerik.com/help/aspnet-ajax/scheduler-custom-modal-advanced-template.html


Best wishes,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Andrei Palvinski
Top achievements
Rank 1
answered on 29 Oct 2009, 01:20 AM
Thank you Peter!
Tags
Scheduler
Asked by
Andrei Palvinski
Top achievements
Rank 1
Answers by
Peter
Telerik team
Andrei Palvinski
Top achievements
Rank 1
Share this question
or