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

Alert Message in class MyDbSchedulerProvider

3 Answers 70 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Alan Wang
Top achievements
Rank 1
Alan Wang asked on 19 Mar 2012, 12:36 PM
Hi,

How can I popup alert message inside class MyDbSchedulerProvider?

Thanks!

Alan

3 Answers, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 21 Mar 2012, 03:34 PM
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
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
0
Ivana
Telerik team
answered on 27 Mar 2012, 08:11 PM
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
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
Alan Wang
Top achievements
Rank 1
Answers by
Ivana
Telerik team
Alan Wang
Top achievements
Rank 1
Share this question
or