Click here to Skip to main content
15,915,019 members
Home / Discussions / C#
   

C#

 
AnswerRe: File delete on browser close Pin
enjoycrack14-Dec-05 8:36
enjoycrack14-Dec-05 8:36 
GeneralRe: File delete on browser close Pin
chinky singh14-Dec-05 9:12
chinky singh14-Dec-05 9:12 
GeneralRe: File delete on browser close Pin
WillemM14-Dec-05 9:25
WillemM14-Dec-05 9:25 
GeneralRe: File delete on browser close Pin
enjoycrack14-Dec-05 10:25
enjoycrack14-Dec-05 10:25 
GeneralRe: File delete on browser close Pin
chinky singh15-Dec-05 3:45
chinky singh15-Dec-05 3:45 
GeneralRe: File delete on browser close Pin
chinky singh15-Dec-05 3:59
chinky singh15-Dec-05 3:59 
GeneralRe: File delete on browser close Pin
chinky singh15-Dec-05 5:59
chinky singh15-Dec-05 5:59 
GeneralRe: File delete on browser close Pin
enjoycrack15-Dec-05 7:43
enjoycrack15-Dec-05 7:43 
Hi there,

Gud to hear that you can implement successfully the js code...Rose | [Rose]

chinky singh wrote:
Is their anyway that I can hide the test.aspx page so that the user cannot see that but still file gets deleted ?


IMO, No way... to hide the window. But just a suggestion, you might take a look at AJAX to implement they way client call a server-side function. So that when the browser is closed, call a server-side function to delete the file. Not tried with it yet Poke tongue | ;-P
And also, have a question... Why do want to hide the dialog?


chinky singh wrote:
And what if the javascipt is disabled at the user's browser. In that case no files will be deleted.


IMO, You can detect that if the client is supporting JS or not...

<< >>
GeneralRe: File delete on browser close Pin
chinky singh16-Dec-05 6:17
chinky singh16-Dec-05 6:17 
GeneralRe: File delete on browser close Pin
enjoycrack16-Dec-05 8:09
enjoycrack16-Dec-05 8:09 
QuestionExtending System.Threading.Thread ? Pin
Skoder14-Dec-05 5:56
Skoder14-Dec-05 5:56 
AnswerRe: Extending System.Threading.Thread ? Pin
Jared Parsons14-Dec-05 6:06
Jared Parsons14-Dec-05 6:06 
GeneralRe: Extending System.Threading.Thread ? Pin
Skoder14-Dec-05 6:33
Skoder14-Dec-05 6:33 
GeneralRe: Extending System.Threading.Thread ? Pin
Jared Parsons14-Dec-05 7:34
Jared Parsons14-Dec-05 7:34 
GeneralRe: Extending System.Threading.Thread ? Pin
Judah Gabriel Himango14-Dec-05 7:57
sponsorJudah Gabriel Himango14-Dec-05 7:57 
GeneralRe: Extending System.Threading.Thread ? Pin
Jared Parsons14-Dec-05 10:30
Jared Parsons14-Dec-05 10:30 
GeneralRe: Extending System.Threading.Thread ? Pin
Judah Gabriel Himango14-Dec-05 10:50
sponsorJudah Gabriel Himango14-Dec-05 10:50 
GeneralRe: Extending System.Threading.Thread ? Pin
Jared Parsons14-Dec-05 11:08
Jared Parsons14-Dec-05 11:08 
GeneralRe: Extending System.Threading.Thread ? Pin
Skoder14-Dec-05 8:19
Skoder14-Dec-05 8:19 
GeneralRe: Extending System.Threading.Thread ? Pin
Judah Gabriel Himango14-Dec-05 9:15
sponsorJudah Gabriel Himango14-Dec-05 9:15 
Questionanother textbox question Pin
melanieab14-Dec-05 5:49
melanieab14-Dec-05 5:49 
AnswerRe: another textbox question Pin
Daniel Monzert14-Dec-05 6:42
Daniel Monzert14-Dec-05 6:42 
GeneralRe: another textbox question Pin
melanieab14-Dec-05 7:31
melanieab14-Dec-05 7:31 
GeneralRe: another textbox question Pin
[Marc]14-Dec-05 8:06
[Marc]14-Dec-05 8:06 
GeneralRe: another textbox question Pin
melanieab14-Dec-05 8:31
melanieab14-Dec-05 8:31 

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.