This is a migrated thread and some comments may be shown as answers.
RadScheduler and RadODataDataSource - no go ?
3 Answers 18 Views
This is a migrated thread and some comments may be shown as answers.
SwanB
Top achievements
Rank 1
SwanB asked on 27 Aug 2013, 08:05 AM
Hello,


I am trying to set up a sample project binding the RadScheduler to a RadODataDataSource, but the RadScheduler is not getting any data from the oData service.

In VS2012 the RadScheduler "design time tool" is only able to Choose ODataSource and DataModelID into the Drop down boxes, from the RadODataDataSource. The remaining drop down boxes, like: DataKeyField, DataStartField, DataEndfield....etc. is not filled. Even if I hand code these values to connect to the RadODataSource, the Scheduler is not returning any data.

I have tested both Telerik.Web.UI 2013.2.717.40 and 2013.2.820.40.

To ensure that I am not totally misunderstood I also inserted a RadListBox using the same RadODataDataSource in the same .ascx contol, and this is working flawlessly both in design and run time returning "parts of the data" that the RadScheduler "were supposed to display".
(This trial module is cross domain and running in a DotNetNuke module)

1. Am I overlooking anything, or is the latest versions of RadScheduler not working with the RadODataDataSource ?

2. When using oData as feed for RadScheduler what limitations does the  readonly="True" pose for functionality ?

SwanB

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 27 Aug 2013, 10:22 AM
Hi SwanB,

As far as I know the latest version of RadScheduler has no known issues with the RadODataDataSource. You can have a look at this demo on RadSchduler OData Binding.

Thanks,
Shinu.
0
SwanB
Top achievements
Rank 1
answered on 27 Aug 2013, 11:34 AM
Hi Shinu,


That demo on RadSchduler OData Binding was my starting point.

Any idea why:
"In VS2012 the RadScheduler "design time tool" is only able to Choose ODataSource and DataModelID into the Drop down boxes, from the RadODataDataSource. The remaining drop down boxes, like: DataKeyField, DataStartField, DataEndfield....etc. is not filled."
And no data is displayed ?
?

PS. When using oData as feed for RadScheduler what limitations does the  readonly="True" pose for functionality ?

/SwanB
0
Plamen
Telerik team
answered on 29 Aug 2013, 10:58 AM
Hello,

 You can find the pointed- DataKeyField, DataStartField, DataEndfield fields in the designer of RadScheduler as explained in this help topic.

As for the readonly mode when oDataSource is used with RadScheduler-it is set because the update, insert and Delete of the appointments are not supported in such binding scenario.

Regards,
Plamen
Telerik
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 the blog feed now.
Asked by
SwanB
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
SwanB
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or