473,806 Members | 2,739 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

If SmartNavigation =True, how can I force after PostBack to go on top of the page?

Hello,
when SmartNavigation is True
how can I force after Postback that the page goes to the top because
of the error message or where should I put the error message (top or
button)?
With old Browser SmartNav is disabled.

Thanks for any help
Andreas
Nov 18 '05 #1
1 1888

Have you tried something like (see below) in the control/page where you are handing an error?

Page.SmartNavig ation = false
"Andreas Klemt" <ak******@hotma il.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
Hello,
when SmartNavigation is True
how can I force after Postback that the page goes to the top because
of the error message or where should I put the error message (top or
button)?
With old Browser SmartNav is disabled.

Thanks for any help
Andreas

Nov 18 '05 #2

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

Similar topics

2
1434
by: Snig | last post by:
Hi All I wanted to enable "SmartNavigation" in my site. For this I put <pages smartNavigation="true" /> in web.config file. So far so good. But it causes the link from the aspx pages to the css files be broken. When an aspx page opens up for the first time, it displayed everything fine as per the linked css file. But after postback the page is displayed without any formatting, i.e. as if it could not find the css file.
0
1112
by: Kevin Ortman | last post by:
Hi all, I am wondering if the following is a known problem, and if there are any known solutions. Thanks in advance, Kevin Ortman
2
1788
by: SLE | last post by:
A web user control exposes a RadioButtonList (with AutoPostBack = true) called "Question". This control also has an embedded RequiredFieldValidator control. 1. Main ASPX page is populated with several "Questions". 2. Within the code of the main page, there is a SelectedIndexChanged handler for the RadioButtonList exposed by Question. The function loops through a number of questions on the pages and hides/shows questions (control.visible...
1
353
by: Andreas Klemt | last post by:
Hello, when SmartNavigation is True how can I force after Postback that the page goes to the top because of the error message or where should I put the error message (top or button)? With old Browser SmartNav is disabled. Thanks for any help Andreas
0
1048
by: Grey | last post by:
I have successfully to create popup window when smartnavigation= ture. But how to set the focus on the child window instead of parent one Million thanks
1
1572
by: Greg Leizerowicz | last post by:
I'm crashing IE 6 when doing the following: 1. turn on SmartNavigation 2. run the following sequence a few times (IE will crash around the 3rd time): a. PostBack b. set a filter using jscript - ex: document.body.style.filter = "Gray()"; I've set up a simple project with one page, one button to do the postback,
0
1192
by: Lenny Shprekher | last post by:
Could I use this property in subject to prevent button_click function called on page refresh? Seems working. Thanks, Leonid
7
1806
by: morrisdn13 | last post by:
I have encountered a very strange problem that makes it look like the page is not recreated in entirety after a postback when I turn on smartnavigation. If I click on a server control, the page is returned blank. I have a JavaScript routine displaying a session countdown in the browser statusbar that continues counting without resetting as it normally would after a postback. An error icon is displayed in the browser statusbar after the...
0
971
by: Bryan | last post by:
Anyone aware of a problem of setting a SmartNavigation to True and having an aspx button on a page with a response.redirect on the button? It seems the redirect doesn't work. The page either reloads or becomes blank and finishes. It works fine on a local development machine but when you upload your site to server offsite and try to click on the button, the page doesn't go anywhere...
3
2042
by: Ashhad Syed | last post by:
I have turned on smartnavigation=True for some of the forms in my .NET application. It seemed to be working fine on Windows 2000 SP4, which also has VS 2003 installted, but when I moved the application to window 2003 production evnironment, the Smartnavigation stopped working. Any ideas or suggestions would be appreciated. Thanks, Ashhad.
0
9719
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9598
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10623
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10371
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10111
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9192
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5683
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3010
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.