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

Asynchronous Content Loading for the Rotator

10 Answers 77 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Toby Carter
Top achievements
Rank 1
Toby Carter asked on 10 May 2010, 07:03 PM
I have a rotator that displays a list of stock quotes from a web service I have set up. This service acts as a proxy to an external, third party service that provides us with financial data.

Since our site is under development, I am using their test servers for data. This has revealed the problem with external services... everything comes to a screeching halt while waiting for data from the service. At worst, if the service times out, the page never loads at all. When everything is in production, we should not have these problems, but "should" is not good enough for me.

I've seen through other answers to questions that the Rotator does not support client-side loading. Since this control seems to be oriented towards the use of feeds, I would think that supporting some sort of asynchronous loading would be pretty high on the priority list.

Could you let us know if there are plans to support this... or is there a way to do this that I am overlooking?

Thanks! You guys rock :)

10 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 13 May 2010, 07:26 AM
Hello Toby,
 
We are currently working on this feature and we will do our best to implement it for the upcoming release of the control, scheduled for the beginning of July. The changes and all new features in RadControls for ASP.NET AJAX can be observed on this release notes page.

I hope this helps.

All the best,
Fiko
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
maha
Top achievements
Rank 1
answered on 10 Aug 2010, 08:32 AM
Is that feature available now?I need to use it
0
Svetlina Anati
Telerik team
answered on 10 Aug 2010, 09:18 AM
Hi maha,

I am glad to inform you that this feature is already available and you can find a sample demo below:

http://demos.telerik.com/aspnet-ajax/rotator/examples/loadondemand/defaultcs.aspx

Sincerely yours,
Svetlina
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
maha
Top achievements
Rank 1
answered on 10 Aug 2010, 09:23 AM
I am using an xml file as datasource for the rotator.How can i do that?
0
Svetlina Anati
Telerik team
answered on 12 Aug 2010, 02:27 PM
Hello maha,

I already answered your other thread and for your convenience and others who might have the same question, I pasted it below:

 The LOD of RadRotator gives you the possibility to show as many items as you want on each request. This being said you should go through the following steps:
1) Use some standard technique to extract only 4 records from teh XML - e.g use XmlReader, etc - this is general ASP.NET knowledge and it is not directly related to RadControls

2) Form the HTMl for the item based on the extracted data and return the 4 items back to the rotator

3) The rotator will be populated with the returned items only. After that, it will automatically understand when it is needed to load additional items when going to next or previous and will call your method in teh WebService again, you should read and form the next 4 items, etc.

To better understand how this is done, please examine the demo below:

http://demos.telerik.com/aspnet-ajax/rotator/examples/loadondemand/defaultcs.aspx

On a side note, when you install RadControls, our online examples projects are automatically installed on your computer and you can not only examine their full source code, but also extend them further in order to meet your requirements.

You can open the demos from here:

Start\Programs\Telerik\RadControls for ASPNET AJAX\Open Sample WebSite In VisualStudio

The actual location on your hard disk is the following one:

C:\Program Files\Telerik\RadControls for ASPNET AJAX \Live Demos

I hope that this information is helpful.

Greetings,
Svetlina
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
maha
Top achievements
Rank 1
answered on 16 Aug 2010, 10:28 AM

I copied what is in LOD example i got this error :
 Type 'Telerik.Web.UI.RadRotator' does not have a public property named 'WebServiceSettings'.

And when i opened the project on C:\Program Files\Telerik\RadControls for ASPNET AJAX \Live Demos i couldnt find the LOD page under rotator.
Is it related to version downloaded? The one i am using is  2010.1.415.35 . And when i go to my account and click on renewls and upgrades i get

"You have no subscriptions up for renewal"

0
Svetlina Anati
Telerik team
answered on 19 Aug 2010, 08:10 AM
Hello maha,

 The LOD functionality with a WebService for the RadRotator control was added in the latest release, namely Q2 2010 (version 2010.2.713)  as documented here:

http://www.telerik.com/products/aspnet-ajax/whats-new/release-history/q2-2010-version-2010-2-713.aspx

This being said, you should upgrade to this version to use the LOD feature.

Greetings,
Svetlina
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
maha
Top achievements
Rank 1
answered on 23 Aug 2010, 09:41 AM
I downloaded the new version and i copied and paste the code in LOD i tried to run i go these errors:

Error 2 Type 'Telerik.Web.UI.RadRotator' does not have a public property named 'WebServiceSettings'.
Error 1479 'Carousel' is not a member of 'Telerik.Web.UI.RotatorType'. 
Error 1480 'CarouselButtons' is not a member of 'Telerik.Web.UI.RotatorType'. 

I changed the dll in bin folder i replaced it with the new one from the new version.Anything missing?
0
maha
Top achievements
Rank 1
answered on 23 Aug 2010, 10:04 AM
i readded the dlls to the project now i get this error :

  BC30451: Name 'RotatorTypesList' is not declared.
0
Fiko
Telerik team
answered on 25 Aug 2010, 01:46 PM
Hi Maha,

I recommend you to remove the .refresh file (if exists) from the application's BIN folder as well. In case that this does not help, could you please open a new support ticket and send me the project (including the DLL files) where the problem exists? I will check it and do my best to provide a working solution as soon as possible.

Kind regards,
Fiko
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
Rotator
Asked by
Toby Carter
Top achievements
Rank 1
Answers by
Fiko
Telerik team
maha
Top achievements
Rank 1
Svetlina Anati
Telerik team
Share this question
or