Click here to Skip to main content
15,926,596 members
Home / Discussions / C#
   

C#

 
QuestionWhat is the BindableAttribute for? Pin
Ashley van Gerven15-Dec-06 0:47
Ashley van Gerven15-Dec-06 0:47 
AnswerRe: What is the BindableAttribute for? Pin
J. Dunlap15-Dec-06 1:44
J. Dunlap15-Dec-06 1:44 
GeneralRe: What is the BindableAttribute for? Pin
Ashley van Gerven15-Dec-06 2:10
Ashley van Gerven15-Dec-06 2:10 
QuestionGraphics issue Pin
Dobromir Dimitrov15-Dec-06 0:43
Dobromir Dimitrov15-Dec-06 0:43 
AnswerRe: Graphics issue Pin
Guffa15-Dec-06 1:19
Guffa15-Dec-06 1:19 
AnswerRe: Graphics issue Pin
Bekjong15-Dec-06 1:54
Bekjong15-Dec-06 1:54 
Questionfrom datagridview to xml Pin
Yustme15-Dec-06 0:23
Yustme15-Dec-06 0:23 
QuestionBrowser shudown question Pin
Andrew Mercer14-Dec-06 23:51
Andrew Mercer14-Dec-06 23:51 
Hi,

Not certain of best place to post this - though thought readers of this board may
be able to answer my question or point me in the right direction.

I have a Web App that requires confirmation of when the user logs out.
Have successfully been able to handle this by calling a WebService when
the windows closes using the onunload event.

This works fine whether the user logs out using my logout link or even if
they use the [x] on the Browser window.

However I would like the option of halting the shutdown under certain circumstances.
This is O.K with my logout link but when the user clicks the [x] the browser always
closes.

I have found one way by using the following Javascript: window.open(parent.location);
This reloads the page but looses any changes made to the form by the user that have yet to be saved. As it is this I am trying to handle it some what defeats the object (ie: If the user makes changes to the form and tries to close before submitting I want to give them the option to save or ignore).

I need to find a way to stop the closing of the Browser mid-flow when the user uses the
[x] and keep the same page visible with the same data.

Thanks for any advice

Andrew
AnswerRe: Browser shudown question Pin
Frank Kerrigan15-Dec-06 0:12
Frank Kerrigan15-Dec-06 0:12 
GeneralRe: Browser shudown question Pin
Andrew Mercer15-Dec-06 1:57
Andrew Mercer15-Dec-06 1:57 
GeneralRe: Browser shudown question Pin
Dave Kreskowiak15-Dec-06 5:21
mveDave Kreskowiak15-Dec-06 5:21 
QuestionReset Scrollbar Position Pin
jimmahnow14-Dec-06 23:19
jimmahnow14-Dec-06 23:19 
AnswerRe: Reset Scrollbar Position Pin
Ilíon15-Dec-06 5:41
Ilíon15-Dec-06 5:41 
GeneralRe: Reset Scrollbar Position Pin
jimmahnow16-Dec-06 6:02
jimmahnow16-Dec-06 6:02 
Questionspecial characters !!!!! Pin
quiteSmart14-Dec-06 23:06
quiteSmart14-Dec-06 23:06 
AnswerRe: special characters !!!!! Pin
Guffa14-Dec-06 23:19
Guffa14-Dec-06 23:19 
GeneralRe: special characters !!!!! Pin
quiteSmart14-Dec-06 23:40
quiteSmart14-Dec-06 23:40 
GeneralRe: special characters !!!!! Pin
quiteSmart14-Dec-06 23:58
quiteSmart14-Dec-06 23:58 
AnswerRe: special characters !!!!! Pin
Guffa15-Dec-06 1:20
Guffa15-Dec-06 1:20 
GeneralRe: special characters !!!!! Pin
quiteSmart15-Dec-06 1:31
quiteSmart15-Dec-06 1:31 
Questionadding web reference Pin
Fuhrer14-Dec-06 22:49
Fuhrer14-Dec-06 22:49 
AnswerRe: adding web reference Pin
Frank Kerrigan15-Dec-06 0:14
Frank Kerrigan15-Dec-06 0:14 
GeneralRe: adding web reference Pin
Fuhrer15-Dec-06 1:23
Fuhrer15-Dec-06 1:23 
Questionchange the color of the toolbar Pin
deepualuru14-Dec-06 22:26
deepualuru14-Dec-06 22:26 
AnswerRe: change the color of the toolbar Pin
Bekjong15-Dec-06 1:48
Bekjong15-Dec-06 1:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.