ASP.net - C# - How to make it run faster ajaxToolkit : ToolkitScriptManager

1.5k Views Asked by At

I am using ajaxToolkit for my website. I want to make it run faster.

ASP.net Netframework 4.0 - C# - Microsoft Visual Studio 2010

The below config is my current config. Waiting your further suggestions.

<ajaxToolkit:ToolkitScriptManager runat="server"  
ID="SC1" ScriptMode="Release" 
LoadScriptsBeforeUI="false" 
EnablePartialRendering="true" 
CombineScripts="true"   />
1

There are 1 best solutions below

1
On

To optimize the ASP.NET AJAX in our web application, first of all, we need to make sure the Compression and Caching is enabled in web.config:

<system.web.extensions>
<scripting>
<scriptResourceHandler enableCompression=“true” enableCaching=“true”/>
</scripting>
</system.web.extensions>

If you are using ASP.NET 3.5 with SP1, there is a more powerful tool to combining the Script file – CompositeScript.

Reference : ASP.NET Ajax Performance