Click here to Skip to main content
15,881,882 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Interop Excel Pin
sashidhar5-Nov-09 22:58
sashidhar5-Nov-09 22:58 
GeneralRe: Interop Excel Pin
mithun narayanan5-Nov-09 23:02
mithun narayanan5-Nov-09 23:02 
GeneralRe: Interop Excel Pin
sashidhar5-Nov-09 23:05
sashidhar5-Nov-09 23:05 
Questiontreeview with navigateurl Pin
antony beula5-Nov-09 22:04
antony beula5-Nov-09 22:04 
AnswerRe: treeview with navigateurl Pin
Abhishek Sur5-Nov-09 22:13
professionalAbhishek Sur5-Nov-09 22:13 
GeneralRe: treeview with navigateurl Pin
antony beula5-Nov-09 22:17
antony beula5-Nov-09 22:17 
QuestionTrack Internet Explorer close forcibly by user Pin
Amit Agarrwal5-Nov-09 20:32
Amit Agarrwal5-Nov-09 20:32 
AnswerRe: Track Internet Explorer close forcibly by user Pin
Abhishek Sur5-Nov-09 20:48
professionalAbhishek Sur5-Nov-09 20:48 
It is really not good to track the browser close event. You can do that using :
if(window.event.clientX < 0 && window.event.clientY <0)
{
    // your code
}


Call this Method From Body Unload.

But it wont do when user forcibly close the browser. If the user normally close using Close [X] , Alt+F4 , File -> Close it will run your code.
But if the user ends the process from TaskManager...

So I strongly suggest you not to track browser close. Rather track Session Timeout in the server.. If not your requirement really needed this.Cool | :cool:

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

GeneralRe: Track Internet Explorer close forcibly by user Pin
Amit Agarrwal6-Nov-09 0:34
Amit Agarrwal6-Nov-09 0:34 
QuestionWhy page is slow? Pin
tonymathewt5-Nov-09 20:14
professionaltonymathewt5-Nov-09 20:14 
AnswerRe: Why page is slow? Pin
Christian Graus5-Nov-09 20:18
protectorChristian Graus5-Nov-09 20:18 
GeneralRe: Why page is slow? Pin
tonymathewt5-Nov-09 22:53
professionaltonymathewt5-Nov-09 22:53 
AnswerRe: Why page is slow? Pin
Abhishek Sur5-Nov-09 20:55
professionalAbhishek Sur5-Nov-09 20:55 
GeneralRe: Why page is slow? Pin
tonymathewt6-Nov-09 1:00
professionaltonymathewt6-Nov-09 1:00 
QuestionHow to use Query strig in this situation ???? Pin
rhtbhegade5-Nov-09 19:50
rhtbhegade5-Nov-09 19:50 
AnswerRe: How to use Query strig in this situation ???? Pin
sashidhar5-Nov-09 20:10
sashidhar5-Nov-09 20:10 
AnswerRe: How to use Query strig in this situation ???? Pin
Christian Graus5-Nov-09 20:12
protectorChristian Graus5-Nov-09 20:12 
Questionis there some way i can give the RowIndex as the data key in a gridview Pin
Flavia A5-Nov-09 19:50
Flavia A5-Nov-09 19:50 
AnswerRe: is there some way i can give the RowIndex as the data key in a gridview Pin
sashidhar5-Nov-09 20:11
sashidhar5-Nov-09 20:11 
GeneralRe: is there some way i can give the RowIndex as the data key in a gridview Pin
Flavia A5-Nov-09 20:20
Flavia A5-Nov-09 20:20 
GeneralRe: is there some way i can give the RowIndex as the data key in a gridview Pin
sashidhar5-Nov-09 20:41
sashidhar5-Nov-09 20:41 
QuestionHow to implement re-login in asp.net windows authentication Pin
dharam_hbtik5-Nov-09 19:41
dharam_hbtik5-Nov-09 19:41 
Questionis the some way we can have 2 link button in a grdview? Pin
Flavia A5-Nov-09 19:38
Flavia A5-Nov-09 19:38 
AnswerRe: is the some way we can have 2 link button in a grdview? Pin
sashidhar5-Nov-09 20:29
sashidhar5-Nov-09 20:29 
QuestionCustom control : getting Rowcount 0 on button event of the control. Pin
Imran Khan Pathan5-Nov-09 19:35
Imran Khan Pathan5-Nov-09 19:35 

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.