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

2 posts, 0 answers
  1. Manish
    Manish avatar
    64 posts
    Member since:
    Jul 2011

    Posted 22 Aug 2012 Link to this post

    Hi,

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



    Thanks
    Manish
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 22 Aug 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top