473,811 Members | 2,979 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1115
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
2758
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 - similar to "welcome back, Jim" after Jim logs in) and consumed across multiple pages. This "per user" data lives in a database, so toward improving runtime performance I want to cache data supporting this and similar per user features. Because the...
1
2908
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 these values (i.e., no button to cause a postback). The problem I'm having is that I need a number of validations to be performed on the data entry, but I don't know how to do this without having the user control/page posted back to the server. ...
5
4101
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 both projects. Both controls(dlls) have been signed using SN.exe and I've set up the appropriate .Net assembly permissions using those Strong Names The DLL's have been copied to the /bin directory in both web virtual directories.
5
4385
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 a setEvent() function but, in the absence of this, is it not possible to use DOM to change an object's properties resulting in a state-change event? I have tried with ONCHANGE() and that only seems to work if the "interactive" user changes the...
0
10644
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10394
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9201
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7665
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6882
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4336
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3863
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.