Forum Moderators: open

Message Too Old, No Replies

auto postback

auto postback

         

hal12b

12:42 am on Aug 29, 2010 (gmt 0)

10+ Year Member



I have a drop down menu and if "YES" is selected it displays a panel. If "NO" is selected, nothing happens. It is on auto postback and I would like the page to return to the same location on the page when it posts back, not the top of the page because the user will never see the panel. Any ideas? I am programming in Visual Basic. I think a while back I added something to the top of the page in this line

<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="online-bid-form.aspx.vb" Inherits="_Default" %>


I just can't remember... it's been a while.

Thanks

marcel

5:35 am on Aug 29, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



MaintainScrollPositionOnPostback="true"

hal12b

6:21 pm on Aug 29, 2010 (gmt 0)

10+ Year Member



Excellent. Thank you!