Asynchronous Content Loading for the Rotator

11 posts, 0 answers
  1. Toby Carter
    Toby Carter avatar
    3 posts
    Member since:
    Oct 2009

    Posted 10 May 2010 Link to this post

    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 :)
  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 13 May 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. maha
    maha avatar
    44 posts
    Member since:
    Jun 2010

    Posted 10 Aug 2010 Link to this post

    Is that feature available now?I need to use it
  5. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 10 Aug 2010 Link to this post

    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
  6. maha
    maha avatar
    44 posts
    Member since:
    Jun 2010

    Posted 10 Aug 2010 Link to this post

    I am using an xml file as datasource for the rotator.How can i do that?
  7. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 12 Aug 2010 Link to this post

    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
  8. maha
    maha avatar
    44 posts
    Member since:
    Jun 2010

    Posted 16 Aug 2010 Link to this post

    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"

  9. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 19 Aug 2010 Link to this post

    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
  10. maha
    maha avatar
    44 posts
    Member since:
    Jun 2010

    Posted 23 Aug 2010 Link to this post

    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?
  11. maha
    maha avatar
    44 posts
    Member since:
    Jun 2010

    Posted 23 Aug 2010 Link to this post

    i readded the dlls to the project now i get this error :

      BC30451: Name 'RotatorTypesList' is not declared.
  12. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 25 Aug 2010 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017