473,471 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Navigating to page position on post back...

Jim
I have a drop-down list that posts back to the server, but on post back the
page scrolls all the way to the top and I would like to have it go to a
certain anchor. Does anyone know how to accomplish this without having to
Response.Redirect?
Nov 19 '05 #1
3 1232
See the ASP.NET BlackBelt WebForms Talk slides and code under TechEd
2003 Presentations on Scott Guthrie's site:
http://www.scottgu.com/
Joshua Flanagan
Jim wrote:
I have a drop-down list that posts back to the server, but on post back the
page scrolls all the way to the top and I would like to have it go to a
certain anchor. Does anyone know how to accomplish this without having to
Response.Redirect?

Nov 19 '05 #2
Hi Jim,

You can set smartnavigation to true to accomplish this. However, if you are
using validation controls you may have problems.

Here's more info:

http://msdn.microsoft.com/library/de.../cpconPage.asp

http://msdn.microsoft.com/library/en...asp?frame=true

Ken

"Jim" <Ji*@discussions.microsoft.com> wrote in message
news:1B**********************************@microsof t.com...
I have a drop-down list that posts back to the server, but on post back the
page scrolls all the way to the top and I would like to have it go to a
certain anchor. Does anyone know how to accomplish this without having to
Response.Redirect?


Nov 19 '05 #3
Hi Jim

Please check the link.

http://www.dotnetspider.com/technolo...uestionId=7641

regards
charmis
Nov 19 '05 #4

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

Similar topics

2
by: ChucRock | last post by:
Hi, I have the following code where there is some client side VBScript that does something and needs to pass a variable back to the ASP.NET page. When the page is updated through a postback, the...
16
by: Rex | last post by:
Hi All - I have a question that I think MIGHT be of interest to a number of us developers. I am somewhat new to VIsual Studio 2005 but not new to VB. I am looking for ideas about quick and...
4
by: bendlam | last post by:
I have a page that contains search criteria and when you click on the search button it causes a post back that populates a dataview on the same page. One of the gridview columns contains a link...
0
by: =?Utf-8?B?SnVsaWEgQg==?= | last post by:
Hi all, I've got a search result web page that is populated dependant on data in the query string. It works fine. However if the user navigates away from the search results page, then...
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
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...
1
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...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.