|
-
Sep 5th, 2007, 01:19 PM
#1
Thread Starter
Hyperactive Member
making something happen in the background
Hi there,
I have a treeview that populates when the page is loaded. It works fine except that the list of data is so long that the page takes like 15 seconds to load - seems like forever.
Is there a way I can make the page load - and then populate the treeview? I know you can use AJAX but I don't think this the right application for it cause this is when the page is loading not when I click a button or update something on the page.
Thanks
-
Sep 5th, 2007, 02:13 PM
#2
Re: making something happen in the background
Yes, you could use threads, but I think you may find the users will not view a +-15 seconds load time as acceptable.
Is there any way for you to optimise the loading of the data; for example if the data has a deep hierarchy, then use on-demand loading - a perfect solution would be AJAX? Or perhaps manually paging the data via postbacks, or optimising the data query (if from a database)?
-
Sep 7th, 2007, 03:31 AM
#3
Re: making something happen in the background
You can use ajax for when a page is loading, you just have to impliment a bit of java script to do it. I use an ajax container from telerik, but you might be able to make something of it, try this:
http://www.telerik.com/help/aspnet/a...lPageLoad.html
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|