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

[Solved] RadScriptManager and asp:ScriptManger

1 Answer 394 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Esperanza Ramos
Top achievements
Rank 1
Esperanza Ramos asked on 30 Apr 2008, 02:49 PM
Hi, all:

what is the difference of RadScriptManager and asp:ScriptManager?

I used it like this, and it worked:

<asp:ScriptManager ID="smManager" runat="server"></asp:ScriptManager>
<telerik:RadDatePicker ID="rdpDate" runat="server"></telerik:RadDatePicker>

Stanley

1 Answer, 1 is accepted

Sort by
0
Ivo
Telerik team
answered on 30 Apr 2008, 02:59 PM
Hello Stanley,

RadScriptManager is a control that replaces the ScriptManager available in the Microsoft Ajax Extensions suite. When put on the page, RadScriptManager combines all the requests (to the "javascript assembly resource files" on the page) into a single one, thus reducing the page's load time and traffic consume. The way RadScriptManager operates is outputting a <script> tag with a specific URL, making a request to an HttpHandler, which serves the combined scripts.

For more details on RadScriptManager (and RadStyleSheetManager) please refer to these articles:
http://telerikwatch.com/2008/04/optimization-tipsthe-rad-managers-for.html
http://www.telerik.com/help/radcontrols/prometheus/?RadScriptManager.html
http://blogs.telerik.com/InASearchForTheLimits/Posts/08-02-14/Squeezing_the_last_millisecond_from_the_page_load_time.aspx


All the best,
Ivo
the Telerik team


Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Esperanza Ramos
Top achievements
Rank 1
Answers by
Ivo
Telerik team
Share this question
or