473,395 Members | 1,452 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,395 software developers and data experts.

Enhancing User Experience One Control At A Time

Hello everyone,

Here is what I would like to accomplish, I have a webpart 'portal'
where each webpart is in an updatepanel. I would like the page to load
and the webparts to load as they become available.

Currently, the page renders after all controls/webparts are loaded.
Then when there are postbacks, the updatepanels work great. Is there a
way to do this with theses controls (built-in ajax.net type stuff) or
will I need to finally delve into writing the ajax manually in the
javascript :) I might be hoping for too much to do this auto-
magically.

Maybe asynchronous webparts would do the trick . . .

Thanks and have a nice week!
Ryan

May 20 '07 #1
2 1105
with just a little rework you can. have all the webparts render as
invisible (and do as little as possible) or render "loading...". then on
browser onload fire off the ajax to load them.

for this to look nice you need to size the the webparts on the render
correctly.

note: the browser will limit connections to allow only 2 ajax requests
at the same time. if you use session, then the server limits to one
request being serviced at a time.

-- bruce (sqlwork.com)

Ryan wrote:
Hello everyone,

Here is what I would like to accomplish, I have a webpart 'portal'
where each webpart is in an updatepanel. I would like the page to load
and the webparts to load as they become available.

Currently, the page renders after all controls/webparts are loaded.
Then when there are postbacks, the updatepanels work great. Is there a
way to do this with theses controls (built-in ajax.net type stuff) or
will I need to finally delve into writing the ajax manually in the
javascript :) I might be hoping for too much to do this auto-
magically.

Maybe asynchronous webparts would do the trick . . .

Thanks and have a nice week!
Ryan
May 21 '07 #2
Hi Bruce, thanks for answering so quickly and the information! That is
a great idea . . . and so simple! I can't wait to try it out . . .
Thanks for the tips as well, I hadn't even considered that.

Ryan

On May 20, 7:10 pm, bruce barker <nos...@nospam.comwrote:
with just a little rework you can. have all the webparts render as
invisible (and do as little as possible) or render "loading...". then on
browser onload fire off the ajax to load them.

for this to look nice you need to size the the webparts on the render
correctly.

note: the browser will limit connections to allow only 2 ajax requests
at the sametime. if you use session, then the server limits toone
request being serviced at atime.

-- bruce (sqlwork.com)
May 21 '07 #3

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

Similar topics

4
by: Guadala Harry | last post by:
Is there any way for one Session to remove and update objects in another Session? I seriously doubt it, but thought I'd ask. Here's why: I have some data that is unique per user (or per session -...
1
by: panche | last post by:
I'm developing a fairly simple user control that has two textboxes for date/time entry (a from date/time and a to date/time). One of my requirements is that there should be no button that sets...
5
by: Segfahlt | last post by:
I need a little help here please. I have 2 win forms user controls in 2 different projects that I'm hosting in 2 different virtual directories. The controls have been test and operate okay in...
5
by: Richard Maher | last post by:
Hi, Here I mean "User" in the Programmer or Javascript sense. I merely wish to programmatically trigger an Event. It would be absolutely fantastic if there was a (Form level?) ONUSEREVENT() and...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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.