PanelUpdate and Form Position

D

Dave

Is it true that one of the benefits of using an UpdatePanel is that the
screen will maintain it's position across partial postbacks? If so, I must
be doing something wrong. When a repeater control (which is contained in an
UpdatePanel) is refreshed, the page is jumping to the bottom. I'd like it to
remain in it's previous position (usually at the top of the screen). Any
ideas?
 
S

Steven Cheng [MSFT]

Hi Dave,

As for the ASP.NET AJAX updatepanel, it's built-in designed functionality
is to provide non-refresh postback and partial rendering for the page
fragment inside the update panel. It will not maintain scroll position. So
far for built-in scroll position maintain, there is only a setting on the
entire page(which is not AJAX specific).

Also, based on my research, I did find some other members who ever provided
some custom methods to maintain scrollposition in ASP.NET ajax panel (or
ajax awared page). You can have a look to see whether it helps:

#Maintain Scrollbar Position Inside UpdatePanel After Partial PostBack
http://basgun.wordpress.com/2008/06/09/maintain-scroll-position-updatepanel-
postback/

#ASP.NET AJAX Maintain Scroll Position from a Partial Page Update
http://www.eggheadcafe.com/tutorials/aspnet/7dd57635-0587-42ba-ae73-f52449e6
53bf/aspnet-ajax-maintain-scr.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
 
S

Steven Cheng [MSFT]

Hi Dave,

How are you doing?

Does the information in my last reply help you some? If there is anything
else we can help, please feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Content-Transfer-Encoding: 7bit
From: (e-mail address removed) (Steven Cheng [MSFT])
Organization: Microsoft
Date: Fri, 04 Jul 2008 02:31:38 GMT
Subject: RE: PanelUpdate and Form Position
 

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,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top