Hi,
I am using this control in my project, for creating the
appointment I am using my custom aspx page. For the new appointment/from the
menu option as well I am unable to call my custom aspx page. But during the
edit I am able to call my aspx page.
So, how do I open my custom aspx page both on new
appointment creation/from the context menu as well?
For achieving the above I try to use the below events but
there are not firing why??
<telerik:RadScheduler runat="server" ID="Scheduler" SelectedView="MonthView"
FirstDayOfWeek="Monday" LastDayOfWeek="Friday" OverflowBehavior="Auto" DayEndTime="20:00:00"
DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID"
Height=""StartEditingInAdvancedForm="false"
Skin="Outlook" OnClientAppointmentClick="OnClientAppointmentClick" OnClientAppointmentDoubleClick="OnClientAppointmentDoubleClick" OnClientAppointmentContextMenuItemClicked="ClientAppointmentContextMenuItemClicked" >
<AdvancedForm Modal="false"></AdvancedForm>
<WeekView ShowResourceHeaders="false" />
<TimelineView UserSelectable="false" />
<MonthView UserSelectable="True" />
<TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings>
<AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>
</telerik:RadScheduler>
And my javascript is
function OnClientAppointmentDoubleClick(sender, eventArgs) {
try{
alert('Test');
var win = window.open('abc.aspx', 'Details');
win.center();
} catch (e) {
alert(e.message);
}
}
function ClientAppointmentContextMenuItemClicked(sender, args) {
try {
alert('Test');
var win = window.open('abc.aspx', 'Details');
win.center();
} catch (e) {
alert(e.message);
}
}
Thanks