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

RadScheduler and RadXmlHttpPanel?

3 Answers 31 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jerry T.
Top achievements
Rank 1
Jerry T. asked on 26 Aug 2010, 08:48 PM
Is it possible to have the ServiceRequest of a RadXmlHttpPanel to load/refresh the data of a RadScheduler?

Or, can the RadScheduler only work via a DataSource and postbacks when using navigation?


What I'm trying to do is eliminate the postbacks when navigating to the previous/next month.

Thanks.

3 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 27 Aug 2010, 05:03 PM
Hi Jerry T.,

Please consider using Web Service binding.

Have a great weekend!

Greetings,
Tsvetomir Tsonev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jerry T.
Top achievements
Rank 1
answered on 27 Aug 2010, 05:07 PM
I've been looking into that. But, is it not possible to use the ServiceRequest of a RadXmlHttpPanel?  Would be great if we could.


As for the WebService, I've been to that link but how would I setup client-side binding to a business layer method instead of accessing a local .XML file?  Can I point the "WebServiceAppointmentController" to that method or to a LINQ or Object data source?


More and better examples in the docs would help a lot.  :-)
0
Peter
Telerik team
answered on 03 Sep 2010, 10:19 AM
Hi Jerry T.,

RadXmlHttpPanel cannot be use for RadScheduler. The good news is that you can use any provider for the Web Service. We have a tutorial and example that demonstrates how to build a custom provider that connects to an SQL Server. The provider is specified for the web services like this:

SchedulerWebService.cs
private WebServiceAppointmentController Controller
   {
       get
       {
           if (_controller == null)
           {              
               _controller = new WebServiceAppointmentController("MyDBSchedulerProvider");
           }
           return _controller;
       }
   }

Attached is a  demo for reference.


Best wishes,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
Jerry T.
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Jerry T.
Top achievements
Rank 1
Peter
Telerik team
Share this question
or