473,407 Members | 2,312 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,407 software developers and data experts.

ASP.NET AutoPostBack

I am using AutoPostBack for my forms, but when the form gets longers (needs
to scroll down) every time AutoPostBack makes the page go back to the TOP.
Is there any trick to make the form jump to the last position? like using
Anchor <a name="xxx"> and "#" in Href.. something like that?

C.P.

Nov 19 '05 #1
2 1398
If IE is your only browser, you can turn Smart Navigation on in your
application. That will solve the problem for most web apps. If not, you will
have to write JavaScript for this type of functionality. Here is an URL to
help:

http://aspnet.4guysfromrolla.com/articles/111704-1.aspx

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
"ChInKPoInt [No MCSD]" wrote:
I am using AutoPostBack for my forms, but when the form gets longers (needs
to scroll down) every time AutoPostBack makes the page go back to the TOP.
Is there any trick to make the form jump to the last position? like using
Anchor <a name="xxx"> and "#" in Href.. something like that?

C.P.

Nov 19 '05 #2
Try SmartNavigation, check out the following link for more details

http://msdn.microsoft.com/library/de...l=/library/en-
us/cpref/html/frlrfSystemWebUIPageClassSmartNavigationTopic.asp

If you dont want to implement smart navigation,You can check this articles,
http://aspalliance.com/aldotnet/exam...utoscroll.aspx
http://www.dotnetjunkies.com/howto/default.aspx?id=38

--
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com
"ChInKPoInt [No MCSD]" <Ch*******************@gmail.com> wrote in message
news:Ct********************@rogers.com...
I am using AutoPostBack for my forms, but when the form gets longers (needs to scroll down) every time AutoPostBack makes the page go back to the TOP.
Is there any trick to make the form jump to the last position? like using
Anchor <a name="xxx"> and "#" in Href.. something like that?

C.P.

Nov 19 '05 #3

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

Similar topics

2
by: Susan van Houen | last post by:
Hi All, How do I intercept an autopostback on the client side and prevent it from executing the submit? In classic ASP I used to intercept the on_submit and just return false;
8
by: Matthew Louden | last post by:
why need to set autopostback property to be true?? I know autopostback event means to send the form to the server automatically. I tried checkbox, checkbox list, radio button, and radio button...
2
by: Tom Edelbrok | last post by:
Question: Why does a button event (ie: Button1_Click) get executed on the first click for a textbox control which has 'autopostback=false', but doesn't get executed until a second click when...
2
by: rn5a | last post by:
Assume that a user control has a TextBox (Page1.ascx) <asp:TextBox ID="txtName" runat="server"/> I am encapsulating the above user control in a ASPX page named Page1.aspx i.e. the ASPX page...
6
by: Peter | last post by:
ASP.NET 2.0 Visual Studio 2008 I have the following code and when the textbox displays and I press Enter while in the text box I get AutoPostBack, how do I stop AutoPostBack? TextBox txt =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
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...

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.