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

[Solved] Default to AdvancedEditTemplate view

1 Answer 113 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Kati
Top achievements
Rank 1
Kati asked on 13 May 2009, 03:10 PM
Hello


I have a page that shows all the appointments in a grid, when the user clicks on one appointment in the grid, I would like to take them to a new page with the scheduler on it, pass in the Appointmentid to the sceduler and show it in AdvancedEditTemplate  view with all the details. At the moment it just goes to the month view and then they have to click again to go to the AdvancedEditTemplate  view.
Is this possible?


Thanks

Kati

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 16 May 2009, 11:21 AM
Hi Kati,

You can use RadScheduler's ShowAdvancedEditForm method and pass the appointment id via session or query string. For example:

protected void Page_Load(object sender, EventArgs e)  
    {  
        RadScheduler1.DataBind();  
        Appointment edittedAppointment = RadScheduler1.Appointments.FindByID(int.Parse("pass appointment id from session or query string"));  
        RadScheduler1.ShowAdvancedEditForm(edittedAppointment);  
 
    } 


Sincerely yours,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
Kati
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or