Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Saving work on Back button

Reply
Thread Tools

Saving work on Back button

 
 
tshad
Guest
Posts: n/a
 
      08-04-2005
Is there an event that gets fired when the Browsers Back Button is pressed?

I want to save the clients entry if they should hit the back button by
accident.

Thanks,

Tom


 
Reply With Quote
 
 
 
 
Curt_C [MVP]
Guest
Posts: n/a
 
      08-04-2005
tshad wrote:
> Is there an event that gets fired when the Browsers Back Button is pressed?
>
> I want to save the clients entry if they should hit the back button by
> accident.
>
> Thanks,
>
> Tom
>
>


You'll probably have to do some event when they lose focus on the
individual controls, causing a postback... ick..

I think you are trying to be to smart though.. users know if they use
the BACK they lose the page they are on... and usually its intentional.

Give them a nice BACK button of your own, where you can call the SAVE if
needed.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
 
Reply With Quote
 
 
 
 
tshad
Guest
Posts: n/a
 
      08-04-2005
"Curt_C [MVP]" <software_at_darkfalz.com> wrote in message
news:...
> tshad wrote:
>> Is there an event that gets fired when the Browsers Back Button is
>> pressed?
>>
>> I want to save the clients entry if they should hit the back button by
>> accident.
>>
>> Thanks,
>>
>> Tom

>
> You'll probably have to do some event when they lose focus on the
> individual controls, causing a postback... ick..
>
> I think you are trying to be to smart though.. users know if they use the
> BACK they lose the page they are on... and usually its intentional.
>
> Give them a nice BACK button of your own, where you can call the SAVE if
> needed.


I am thinking about if they hit a shift-Backspace by accident and have been
entering a lot of information. It is irritating to then have to go back and
reenter the information again.

Thanks,

Tom
>
> --
> Curt Christianson
> site: http://www.darkfalz.com
> blog: http://blog.darkfalz.com



 
Reply With Quote
 
Curt_C [MVP]
Guest
Posts: n/a
 
      08-05-2005
> I am thinking about if they hit a shift-Backspace by accident and have been
> entering a lot of information. It is irritating to then have to go back and
> reenter the information again.
>


At that point I would think they would know its their own fault.. Trying
to adjust for every possible stupid move will only drive you crazy...


--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
After gmail logs out, cannot go back through browser back button Author ASP .Net 6 01-22-2009 03:24 PM
ASP.NET Error redirect then use Back button (or programmed button) phancey ASP .Net 3 02-23-2008 03:51 PM
Firefox back button takes me back 2 pages. Useful Info Javascript 0 06-02-2007 11:21 PM
image button as a back button Chicagoboy27 ASP .Net 2 10-30-2006 05:00 PM
disable the back button provide the users with my own button to go back. sylvia sil ASP .Net 1 12-29-2004 04:41 PM



Advertisments