Forums

Welcome Guest Search | Active Topics | Members

Closing window Options
natebell
Posted: Friday, July 20, 2007 6:55:58 AM
Rank: Member
Groups: Member

Joined: 3/28/2007
Posts: 56
Points: 0
when my users leave the page without saving changes, I want the message to be completely custom. So far all I have found is the message that says "Changes are not saved" that I want to customize but don't know how to. There are two other sentences on the alert that I want to customize/get rid of. How can I do this?

current message:

Windows Internet Explorer

Are you sure you want to navigate away from this page? [need to get rid of]

Changes are not saved. [need to customize]

Press OK to continue, or Cancel to stay on the current page. [need to customize]

OK Cancel



Nate
Sergey Peshekhonov
Posted: Tuesday, July 24, 2007 4:47:14 AM
Rank: Advanced Member
Groups: Member

Joined: 6/6/2007
Posts: 57
Points: 45
Hello, Nate.

We use onbeforeunload event to show the confirmation message when users leave page with unsaved changes.
In this case first and last sentences are added by the browser and it can not be changed, perhaps for security reasons.
(see Remarks at: http://msdn2.microsoft.com/en-us/library/ms536907.aspx).

To change second sentence you should use resource string named ExitMessage defined in
PhotoEditor/App_LocalResources/Common.resx resource file.

Sincerely yours,
Sergey Peshekhonov.

Aurigma Technical Support Team.
natebell
Posted: Tuesday, July 24, 2007 6:24:41 AM
Rank: Member
Groups: Member

Joined: 3/28/2007
Posts: 56
Points: 0
thanks Sergey
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.