3 Answers, 1 is accepted
0
Hello Alan,
You can use the client API of RadScheduler if you want to implement some functionality related to the control. For example you can execute operations when the appointments are populated by subscribing to the corresponding client event . Take a look at the client events of RadScheduler for more information: http://www.telerik.com/help/aspnet-ajax/scheduler-client-side-programming-events.html.
Greetings,
Ivana
the Telerik team
You can use the client API of RadScheduler if you want to implement some functionality related to the control. For example you can execute operations when the appointments are populated by subscribing to the corresponding client event . Take a look at the client events of RadScheduler for more information: http://www.telerik.com/help/aspnet-ajax/scheduler-client-side-programming-events.html.
Greetings,
Ivana
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.
0
Alan Wang
Top achievements
Rank 1
answered on 22 Mar 2012, 01:38 PM
Hi Ivana,
The situation is I need to check end user permission inside the MyDbSchedulerProvider class, if user don't have permission to delete or update, I need to show the alert message to tell end user, and all these need to be happened on the server side not client.
Please show me how to show alert message on the server side inside the MyDbSchedulerProvider class.
Thanks!
Alan
The situation is I need to check end user permission inside the MyDbSchedulerProvider class, if user don't have permission to delete or update, I need to show the alert message to tell end user, and all these need to be happened on the server side not client.
Please show me how to show alert message on the server side inside the MyDbSchedulerProvider class.
Thanks!
Alan
0
Hi Alan,
The only way to alert some message from the server is to register a script programmatically from code-behind. If you are using Web service binding there is no way to display a message from the DB Provider class, as you can not register script from there because the only data sent to the client is the data of RadScheduler (its appointment, resources, etc).
What binding does RadScheduler use in your scenario?
It would be very helpful if you could open a support ticket on this matter and send us a sample project of your attempts so we would be able to have a look at the exact scenario you are working on.
Regards,
Ivana
the Telerik team
The only way to alert some message from the server is to register a script programmatically from code-behind. If you are using Web service binding there is no way to display a message from the DB Provider class, as you can not register script from there because the only data sent to the client is the data of RadScheduler (its appointment, resources, etc).
What binding does RadScheduler use in your scenario?
It would be very helpful if you could open a support ticket on this matter and send us a sample project of your attempts so we would be able to have a look at the exact scenario you are working on.
Regards,
Ivana
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.