FreeTextBox

The no. 1 free ASP.NET HTML Editor.
Welcome to FreeTextBox Sign in | Join | Help
in Search

Warinig users on exit

Last post 08-07-2008, 1:35 PM by John734. 1 replies.
Sort Posts: Previous Next
  •  07-23-2008, 5:19 AM 9303

    Warinig users on exit

    Is there a way to warn the users if they are leaving FTB without saving changes?

    I've searched the forums but didn't found a solution.

    Thank you for your help.
  •  08-07-2008, 1:35 PM 9349 in reply to 9303

    Re: Warinig users on exit

    I am also having this problem and cannot seem to get a solution.

    The Text Changed Event is always fired on a postback whether the text was changed or not.

    I trap the lengh of the text on page load and check it again when the user selects to exit the screen and even when nothing has changed the lengths are different.

    I have even tried loading the FTB then getting its text length and again checking on exit they are still different?

    Any insight to solve this would be greatly appriciated

    Thanks

    John

View as RSS news feed in XML
www.freetextbox.com