This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
natebell  
#1 Posted : Thursday, July 19, 2007 10:55:58 PM(UTC)
natebell

Rank: Member

Groups: Guest
Joined: 3/28/2007(UTC)
Posts: 56

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  
#2 Posted : Monday, July 23, 2007 8:47:14 PM(UTC)
Sergey Peshekhonov

Rank: Advanced Member

Groups: Guest
Joined: 6/5/2007(UTC)
Posts: 57

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  
#3 Posted : Monday, July 23, 2007 10:24:41 PM(UTC)
natebell

Rank: Member

Groups: Guest
Joined: 3/28/2007(UTC)
Posts: 56

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.