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

How to redirect on another page by double clicking on date slote.-Urgently required

1 Answer 28 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Manish
Top achievements
Rank 2
Manish asked on 22 Aug 2012, 11:25 AM
Hi,

I want to redirect on another page by double clicking on date slote. Please see the attachment.



Thanks
Manish

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 22 Aug 2012, 05:39 PM
Hi Manish,

You can handle FormCreating to redirect to the other page and use the query string technique to pass the date:
protected void RadScheduler1_FormCreating(object sender, SchedulerFormCreatingEventArgs e)
   {
       if (RadScheduler1.SelectedView == SchedulerViewType.MonthView && e.Mode == SchedulerFormMode.Insert)
       {
           string url = "abc.aspx?Date=" + e.Appointment.Start.ToShortDateString();
           Response.Redirect(url);
       }
   }




Kind regards,
Peter
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Scheduler
Asked by
Manish
Top achievements
Rank 2
Answers by
Peter
Telerik team
Share this question
or