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

Radscheduler selected timeslot

1 Answer 122 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Sudarshan
Top achievements
Rank 1
Sudarshan asked on 09 Apr 2013, 06:37 AM
Hi all,
I want to find the selected timeslot in radscheduler. When i select timeslot i.e. 5 Am to 10 Am it shows me start time as 12 am and end time as 12:30 that means it takes 30 min timeslot and i found the date of previous days on TimeSlotContextMenuItemClicking event. so how can i find the selected date and time slot in radscheduler. Its also works when new appointment pop up is open.
Please help.

  protected void RadScheduler1_TimeSlotContextMenuItemClicking(object sender, TimeSlotContextMenuItemClickingEventArgs e)
 {
                if (e.MenuItem.Value == "CommandAddAppointment")
                {
                    string fromTime = Convert.ToString(e.TimeSlot.Start);
                    string toTime = Convert.ToString(e.TimeSlot.End);
              }
}

Sudarshan.

1 Answer, 1 is accepted

Sort by
0
Helen
Telerik team
answered on 11 Apr 2013, 03:48 PM
Hello Sudarshan,

You may try to use the FormCreated server-side event:
http://www.telerik.com/help/aspnet-ajax/scheduler-formcreated.html
(e.Appointment.Start and e.Appointment.End).

Greetings,
Helen
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
Sudarshan
Top achievements
Rank 1
Answers by
Helen
Telerik team
Share this question
or