473,386 Members | 1,705 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,386 software developers and data experts.

ASP.NET - Customizing Brrowser Back Button Fonctionality

Hi Friends,

In my application I am traversing across pages.

In many places I display sucess message using dynamically added javascript alert.

I use a HTML button named 'Back' which gets the user back to the previous page (using history.back();).

Now the problem is after displaying a sucess alert message, when I do some other operation and click the HTML - 'Back' button I get the previous screen with the javascript alert message; I want only the page to appear and not the alert message - could any one please help me with this.

Note: The alert messge should not appear only upon clicking the back button.

You help is highly appreciated.
Ram
Mar 27 '07 #1
1 1176
kenobewan
4,871 Expert 4TB
Welcome to the site. There are a number of ways you could do this. You could check where they had come from and not use the alert if they have come from the other page. HTH.
Mar 27 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Jason | last post by:
Sorry for the post here but could not find an Exchange newgroup. I developed an application a year or 2 ago that sends SMTP email. The application allows the user to customize the text from...
25
by: KK | last post by:
Hi, I am using history.go(-1) for implementing the back button functionality. Its working fine but with this exception. 1. The page which is having back button has some hyperlinks on it. ...
2
by: hedrew3 | last post by:
I created a form with a subform using the Access 2000 Forms Wizard. Both the form and the subform have their individual standard navigation bars with the minimum buttons (First, Prev, etc). My...
4
by: VR | last post by:
I am trying to embed a check box into a FlexGrid's cell, but having a problem when I start scrolling the grid. Here is my MyCheckBox class... class MyCheckBox : CheckBox { void Init (...
1
by: MrNobody | last post by:
using .NET IDE I can add a help button to the top right of the title bar next to minimize/mazimize/close. This button lets the user point to a specific control and then get help on that control,...
0
by: Neven Klofutar | last post by:
Hi, I'm trying to customize Calendar control. I would like to create XX Buttons as Controls in a Cell of the selected Day. I succesfully added Buton, but I just can't get it to work with it's...
0
by: Steve | last post by:
When coding in vbscript asp, I did everything from scratch and could control the way that for example my data tables looked and could be edited. I for example could allow the user to delete...
1
by: Charlie | last post by:
Hi: I'm having problems customizing layout of Wizard control. Doesn't seems to allow you to change locations of buttons and side bars. Any ideas? Thanks, Charlie
0
by: deoraj | last post by:
Hi everyone, Can anyone tell me how to lock / deactivate "Refresh" and "Back" button on browser. Problem is in voting application. Once we click for a vote application goes to next page and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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...

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.