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

Future Question

4 Answers 124 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
nickWorld
Top achievements
Rank 1
nickWorld asked on 21 Dec 2007, 07:40 AM
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

4 Answers, 1 is accepted

Sort by
0
Ivo
Telerik team
answered on 21 Dec 2007, 12:16 PM
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
0
Shaun Peet
Top achievements
Rank 2
answered on 21 Dec 2007, 06:29 PM
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.
0
nickWorld
Top achievements
Rank 1
answered on 24 Dec 2007, 03:02 AM
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
0
Vladimir Milev
Telerik team
answered on 27 Dec 2007, 10:58 AM
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
Tags
General Discussions
Asked by
nickWorld
Top achievements
Rank 1
Answers by
Ivo
Telerik team
Shaun Peet
Top achievements
Rank 2
nickWorld
Top achievements
Rank 1
Vladimir Milev
Telerik team
Share this question
or