473,797 Members | 3,196 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to prevent postback added to history without SmartNavigation

Is there a way to prevent a page postback from being added to the browser
history without using SmartNavigation ?
I'd like to be able to do this in a cross-browser compatible way (modern
standards-compliant browsers).

I've seen tons of articles on how to maintain scroll position and focus, but
what about this other feature of SmartNavigation ?

Anyone know of a base page class that could accomplish this? Or do I have to
wait for Whidbey?

Thanks,
Mark Petersen
Jul 21 '05 #1
0 1594

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

Similar topics

3
12135
by: Marcelo | last post by:
Hi, I have an ImageButton which, when clicked, redirects to another page. The problem is that page A (where the ImageButton is located) has lots of information, but when I click the button, it redraws the header of the table, which we'd like not to happen. My question is: Is there any way of prevent this postback? Or, is there any way of, in Page_Load, detect that it is happening due the click on the button, so I could redirect it...
3
10034
by: Rob | last post by:
Each time a webform is posted back (submitted), another URL is added to the browser's history list. My web application allows a back button to return to previously visited pages, but I do not wish to return to each Postback URL, but rather only the initial page URL. Is there a way to prevent Postback URL's from being added to the browser's history list Thanks in advance for any help.
0
1470
by: Itai | last post by:
How does smartNavigation prevent Postback URL's from being added to the browser History?
3
4139
by: Simon | last post by:
Hi, I need to prevent Internet Explorer to save the page in history collection when it is in PostBack. To try do this I have put this code: protected override void OnLoad( EventArgs evt) { if (IsPostBack) Response.Cache.SetNoStore(); ..... base.OnLoad( evt);
10
3667
by: william | last post by:
Hi, I have a datagrid, inside there is a templete item, it's button. I want to do some thing when user click the button, but do not want the postback event happens. How can I do it? Thanks. william
0
293
by: Mark Petersen | last post by:
Is there a way to prevent a page postback from being added to the browser history without using SmartNavigation? I'd like to be able to do this in a cross-browser compatible way (modern standards-compliant browsers). I've seen tons of articles on how to maintain scroll position and focus, but what about this other feature of SmartNavigation? Anyone know of a base page class that could accomplish this? Or do I have to wait for Whidbey?
1
1749
by: keithb | last post by:
I have found that I must re-create dynamically added controls on every postback in order to find and access them programatically. The controls I am working with are inside a GridView control. When the edit button is clicked, a postback occurs and the control are re-created. This causes an additional set of columns to be created in the GridView control, so that all of the dynamically added controls exist in 2 places on the screen. How can I...
0
1018
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
Hi, I've managed to drag and drop my webparts but is there a way to prevent the page postback flicker using ajax/atlas? i've read it was possible with the beta version. Dave
6
3829
by: Jonathan Wood | last post by:
I have an image button on my page that runs some javascript: <asp:ImageButton runat="server" id="ImageButton3" ImageUrl="Graphics/Help.png" AlternateText="Help" onclientclick="javascript:ShowHelp('help_rent.aspx')" /> ShowHelp() is a function that I create that calls window.open(). It works okay--it pops up a separate help window with content from another page--but it also refreshes the current page, which I want to prevent.
0
9537
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
10246
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...
1
10209
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10023
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
9066
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...
0
5459
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4135
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 we have to send another system
2
3750
muto222
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.