dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Ajax Control Toolkit causes pages to load slowly

  1. #1
    Join Date
    Feb 2007
    Posts
    16

    Ajax Control Toolkit causes pages to load slowly

    I'm developing a c# asp.net 2.0 web application which uses the Ajax Control Toolkit 1.0. However i've noticed that the pages now load very slowly and there is a noticeable delay navigating between pages. The actual ajax controls work flawlessly and are a great addition to the site discounting the load delay. In total there are 12 scripts some of which are on the master page.



    Is there some way to speed up the loading of the scripts? Should i avoid putting scripts in the master page or can i use compression and what kind of results should i see?

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    Quote Originally Posted by admol View Post
    Should i avoid putting scripts in the master page
    That would be where I would start and see what happens.

  3. #3
    Join Date
    Feb 2007
    Posts
    16
    Quote Originally Posted by Hack View Post
    That would be where I would start and see what happens.
    The ajax needs to be on each page so that doesn't really solve the problem.

    I have narrowed the problem down to the fact that the scripts are loaded before the html content. There is a property LoadScriptsBeforeUI in the script manager but this does not appear to make any difference. I have found an article that implements a hack to load the scripts after the html content but i don't really want to implement this on my web site.

    http://weblogs.asp.net/omarzabir/arc...e-content.aspx

    Does anyone else have any suggestions?

Similar Threads

  1. Replies: 0
    Last Post: 08-04-2007, 01:26 PM
  2. User Control Property Pages
    By CyberCyclist in forum .NET
    Replies: 2
    Last Post: 12-05-2002, 02:42 PM
  3. Replies: 1
    Last Post: 10-23-2002, 08:52 PM
  4. Replies: 0
    Last Post: 04-03-2002, 11:04 PM
  5. Replies: 2
    Last Post: 06-19-2001, 12:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center