473,396 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Web Parts - Incremental Display?

On our local intranet site it has been suggested to have customizable
content on the start page. Most of the content already exists as user
controls, so I'm all set there, the problem is now the loading times.
Many of the to-be webparts perform long running (7 to 10 seconds)
database queries which will prevent the page from displaying until
they are finished.

So my question is, is there a quick way to load the page first, and
then load the content of the webparts? Sort of like pageflakes.com
does?

Thanks In Advance!

Seth Rowe

Aug 13 '07 #1
3 1695
you have two options:

1) use ajax to load the parts.
2) use iframes

either approach will require some rewrite of the page.

-- bruce (sqlwork.com)

rowe_newsgroups wrote:
On our local intranet site it has been suggested to have customizable
content on the start page. Most of the content already exists as user
controls, so I'm all set there, the problem is now the loading times.
Many of the to-be webparts perform long running (7 to 10 seconds)
database queries which will prevent the page from displaying until
they are finished.

So my question is, is there a quick way to load the page first, and
then load the content of the webparts? Sort of like pageflakes.com
does?

Thanks In Advance!

Seth Rowe
Aug 13 '07 #2
On Aug 13, 1:19 pm, bruce barker <nos...@nospam.comwrote:
you have two options:

1) use ajax to load the parts.
2) use iframes

either approach will require some rewrite of the page.

-- bruce (sqlwork.com)

rowe_newsgroups wrote:
On our local intranet site it has been suggested to have customizable
content on the start page. Most of the content already exists as user
controls, so I'm all set there, the problem is now the loading times.
Many of the to-be webparts perform long running (7 to 10 seconds)
database queries which will prevent the page from displaying until
they are finished.
So my question is, is there a quick way to load the page first, and
then load the content of the webparts? Sort of like pageflakes.com
does?
Thanks In Advance!
Seth Rowe
I've been looking at AJAX, the problem is I don't know how to get it
to not prevent the page from loading. I'm experimenting with the
DynamicPopulateExtender, but since I'm using through a UserControl and
not a Page I can't seem to get it working.

Also could you elaborate a bit on the iframes approach? I'm not sure
how to use them for this?

Thanks,

Seth Rowe

Aug 13 '07 #3
On Aug 13, 1:41 pm, rowe_newsgroups <rowe_em...@yahoo.comwrote:
On Aug 13, 1:19 pm, bruce barker <nos...@nospam.comwrote:
you have two options:
1) use ajax to load the parts.
2) use iframes
either approach will require some rewrite of the page.
-- bruce (sqlwork.com)
rowe_newsgroups wrote:
On our local intranet site it has been suggested to have customizable
content on the start page. Most of the content already exists as user
controls, so I'm all set there, the problem is now the loading times.
Many of the to-be webparts perform long running (7 to 10 seconds)
database queries which will prevent the page from displaying until
they are finished.
So my question is, is there a quick way to load the page first, and
then load the content of the webparts? Sort of like pageflakes.com
does?
Thanks In Advance!
Seth Rowe

I've been looking at AJAX, the problem is I don't know how to get it
to not prevent the page from loading. I'm experimenting with the
DynamicPopulateExtender, but since I'm using through a UserControl and
not a Page I can't seem to get it working.

Also could you elaborate a bit on the iframes approach? I'm not sure
how to use them for this?

Thanks,

Seth Rowe
I finally settled on a solution that I deem "acceptable." I decided to
use the timer/update panel pair and have the timer fire off my server
side code 1 millisecond after the page loads. This code does the long
running db queries and loads the results into the usercontrol.

One more question though (if anyones still monitoring this thread), is
that the webparts seem to load synchronously, the first fires it's
timer and loads. After it's finished the second one fire's it's event
and loads, etc. Is there any way to get these to truly run
asynchronously? As in have all the timer fire the tick event, and all
start populating at the same time?

Thanks,

Seth Rowe

Aug 15 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: jane | last post by:
HI, I had a question on incremental backup. We had an incremental backup every weekend. We did full backup every other week. That is one week incremental + full , the other week is...
1
by: Jimmy Chen | last post by:
Recently I've done a db2 backup and restore/recovery, but the process for recovering the database was different than what I thought to be. here is what I did: DB2 is set in online mode -...
3
by: apple | last post by:
UDB v8 fp 6a on AIX 5.1.0.0 Below is a manual incremental recover from compressed backup datasets. With external compress backup datasets, can it be coded to do an automatic incremental recover?...
0
by: Willem | last post by:
Based on MK's TSI_SOON (http://www.trigeminal.com/)I've created a nifty little procedure that - whenever you compact you db you get an incremental backup copy. Given that you have a table with...
3
by: Colleyville Alan | last post by:
I have a incremental search box that has been working fine for a couple of months but is now acting up. This search box is from the cd that comes with Getz's book, so I did not write it and have...
6
by: Rudy Ray Moore | last post by:
I work with a multi-project workspace. One project (the "startup" project) has a "Configuration Type" of "Application (.exe)". The other 40 projects have a "Configuration Type" of "Static Library...
35
by: mwelsh1118 | last post by:
Why doesn't C# allow incremental compilation like Java? Specifically, in Java I can compile single .java files in isolation. The resulting individual .class files can be grouped into .jar files....
1
by: Sharon | last post by:
Hi, I have a smarty template with about 500 rows, that take a long time to load. I was wondering if there was a way to display it by parts (i.e. first of all display the first 100 rows, then rows...
0
by: nbardach | last post by:
Hope this finds everyone well. Happy New Year! I'm trying to build a Loop for a set of dropdown menus I'm inserting into a form. Basically, the client has to be able to select 1 to 20 donors...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.