Hi,
do we have radscheduler navigation commands similar to this "http://www.telerik.com/help/aspnet-ajax/scheduler-navigationcommand.html" for client side.
I am using following information to decide which navigation command was fired.
Unfortunatley "more" in "MonthView" and "click" on "Today" button both fire command "8". How do I differentiate between the two especially in Month View?
function OnClientNavigationComplete(sender, eventArgs) {
var command = eventArgs.get_command();
/*
8 - > Today
6 --> NextDay
7-->PreviousDay
12 --> pop Up calendaer selectdDate
*/
var selectedView = sender.get_selectedView();
var targetDate = sender.get_selectedDate();
if(targetDate)
targetDate = targetDate.toDateString();
console.log("OnClientNavigationComplete" + ", targetDate: " + targetDate + ", command: " + command);
doCustomAction( targetDate, command);
}
Thanks,
Prava
do we have radscheduler navigation commands similar to this "http://www.telerik.com/help/aspnet-ajax/scheduler-navigationcommand.html" for client side.
I am using following information to decide which navigation command was fired.
Unfortunatley "more" in "MonthView" and "click" on "Today" button both fire command "8". How do I differentiate between the two especially in Month View?
function OnClientNavigationComplete(sender, eventArgs) {
var command = eventArgs.get_command();
/*
8 - > Today
6 --> NextDay
7-->PreviousDay
12 --> pop Up calendaer selectdDate
*/
var selectedView = sender.get_selectedView();
var targetDate = sender.get_selectedDate();
if(targetDate)
targetDate = targetDate.toDateString();
console.log("OnClientNavigationComplete" + ", targetDate: " + targetDate + ", command: " + command);
doCustomAction( targetDate, command);
}
Thanks,
Prava