Whole window refreshes when item in pull down is changed.

D

Dave F.

Hi

Please re-direct me if I'm not in the most appropriate NG.

The company I work for has an Intranet. One of the pages (.aspx)
has 3 pull-down menus in it.

When one of their selections is amended, the whole screen refreshes.
Even worse, it redisplays at the top of page, & because it's along page
& these pull-downs are near the bottom, it makes it very un-user friendly.

The reason it does this, I was told, was because the value of one pull-down
would affect the content of the others.

Does the whole screen need to refresh/reset to do this?

I have vague recollections of reading an article saying that that used to be the case
, but with new technologies is not necessary. Unfortunately, I can't remember if it was ASP.

As an Intranet I'm not able to post a link, but I maybe able to post the source if that would help.

I hope someone can confirm/deny my thoughts.

Thanks in advance

Cheers
Dave F.
 
T

Teemu Keiski

Hi,

by default in ASP.NET a postback (page posts the form back to itself)
refreshes & reloads the entire page. There are various ways to improve the
experience and one is MaintainScrollPositionOnPostBack attribute in @Page
directive which does pretty much what the name explains.

See: http://msdn.microsoft.com/en-us/library/ydy4x04a.aspx


Then you could use ASP.NET Ajax with async postbacks where page is splitted
with UpdatePanel controls definining updatable regions on the Page.
UpdatePanel can make the area refresh without a visible postback, however
there still happens a lot more on the server e.g server's work isn't
necessarily that much splitted (can in fact increase), but however point was
improving user experience.

See: http://ajax.asp.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top