Future Question

5 posts, 0 answers
  1. nickWorld
    nickWorld avatar
    22 posts
    Member since:
    Jun 2007

    Posted 21 Dec 2007 Link to this post

    Hi,

    I can see that in future you will maintain only "Prometheus", but does that mean I had to have ScriptManager if I have to use it for very simple use ?


    Let's say I have a simple html page, except for a single RadInput control., I do not need AJAX there, but still I have to compulsarily use ScriptManager ?

    Pls clarify.

    -pcm
  2. Ivo
    Admin
    Ivo avatar
    689 posts

    Posted 21 Dec 2007 Link to this post

    Hi Nick,

    Yes, you need to have ScriptManager on the page. Here are some further details on how to add "Prometheus" controls to your pages from the online docs.

    Greetings,
    Ivo
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 21 Dec 2007 Link to this post

    Hi Nick,

    Despite its name, the ASP.NET AJAX framework isn't merely a way to enable the Ajaxification of a web page.  It's an entire client-side framework that can be extended to accomplish various tasks, including the creation and rendering of javascript objects on the page.  All the prometheus controls use this framework and extend it, so therefore the framework needs to be on the page in order to use a control.

    I would recommend that you try to adopt the use of MasterPages - this will allow you to place either an asp:ScriptManager or a telerik:RadScriptManager on the MasterPage and not worry about placing one on each individual aspx page.
  5. nickWorld
    nickWorld avatar
    22 posts
    Member since:
    Jun 2007

    Posted 23 Dec 2007 Link to this post

    Hi Shaun,

    Thanks for your inputs. However my concern was the client size download burden.

    If you add ScriptManager, you are asking for around 100kb worth of javascript being loaded.

    No putting in master page is not always a good idea, let's say some of pages are real static, then I don't want to use ScriptManager to add to burden.

    Back to Prometheus, I think AJAX will be a way to go. But there will be situations in which AJAX is not required but will be forced in by a Control.

    -pcm
  6. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 27 Dec 2007 Link to this post

    Hi nickWorld,

    Thanks a lot for the nice words! RadControls "Prometheus" is built upon ASP.NET Ajax and it is impossible to exclude the ScriptManager control from the page. I have made some tests and it seems that the ScriptManager alone brings just about 50KB of overhead for the page. These scripts are essential to the Prometheus web framework and are required even if no AJAX is needed. Unfortunately this is the price to pay for leveraging the ASP.NET AJAX platform in our new suite of controls.

    We apologize if this causes a big inconvenience.

    Best wishes,
    Vladimir Milev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017