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

[RadRotator - Load On Demand] The items are not show at client despite the Service returns correctly!

2 Answers 18 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Dan Cao
Top achievements
Rank 1
Dan Cao asked on 01 Oct 2013, 08:35 AM
Hi,

I have tried the Load On Demand for RadRotator and seem like everything works fine 
    + Client has sent the request back to server
    + Server responses and send back the list "RadRotatorItemData" to Client 
However, the RadRotator can not show the items.

I have checked the jSon data and the server returns this type: "RadRotatorItemData:#Telerik.Web.UI" instead of "Telerik.Web.UI.RadRotatorItemData"

So, I don't know why the webservice returns that type, anything wrong? 

 Any help will be appriciated, thanks

P/S: please see attached file for the data response from Web Service

2 Answers, 1 is accepted

Sort by
0
Accepted
Slav
Telerik team
answered on 03 Oct 2013, 02:23 PM
Hello Dan,

Please ensure that you are using a web service and not a WCF service when databinding the RadRotator. I would also recommend checking the information from this help article in order to successfully enable the load on demand feature of the rotator.

If the problem persists after checking the information above, please prepare a simple, fully runnable project that isolates the issue and send it for further inspection.

Regards,
Slav
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.
0
Dan Cao
Top achievements
Rank 1
answered on 04 Oct 2013, 08:48 AM
Dear Slav,

Thanks for reply. Actually, I have used the WCF Service in project so it may be a root cause of that issue.

I have changed the approach to fix that issue, I still use the WCF service and play around with the Client API of RadRotator and I'm OK with hte issue now

Thank you
Dan
Tags
Rotator
Asked by
Dan Cao
Top achievements
Rank 1
Answers by
Slav
Telerik team
Dan Cao
Top achievements
Rank 1
Share this question
or