473,397 Members | 1,969 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,397 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 1396
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.