1

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"   />
2
  • Didn't you ask that yesterday? Commented Jul 12, 2011 at 17:05
  • yes and deleted it. i think there is no way to bump questions right ? Commented Jul 12, 2011 at 18:23

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

1 Comment

also checked the page you linked. it adds manually each one of the scripts for combining. that is impossible. i can not know which scripts will be provided and also a lot of mess code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.