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.
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.