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

ASP.NET

 
QuestionError on the live Server Pin
yogesh_kumar_agarwal20-May-10 2:45
yogesh_kumar_agarwal20-May-10 2:45 
AnswerRe: Error on the live Server Pin
Yusuf20-May-10 3:03
Yusuf20-May-10 3:03 
QuestionMessage Removed Pin
20-May-10 2:36
tamilpuyal_2820-May-10 2:36 
AnswerRe: Display the menu control, treeview control, site map control in a weird way Pin
Sandeep Mewara20-May-10 8:03
mveSandeep Mewara20-May-10 8:03 
Questionread page and don't stop Pin
buffering8320-May-10 0:16
buffering8320-May-10 0:16 
AnswerRe: read page and don't stop Pin
Not Active20-May-10 2:24
mentorNot Active20-May-10 2:24 
AnswerRe: read page and don't stop Pin
The Man from U.N.C.L.E.20-May-10 7:13
The Man from U.N.C.L.E.20-May-10 7:13 
QuestionClose browser window. Pin
Morgs Morgan19-May-10 23:59
Morgs Morgan19-May-10 23:59 
Hi guys am trying close the browser window once user clicks button 'Exit browser',
in asp.net
I tried the following but it won't work
string scriptor = "<script type=javascript>window.close();</script>";
            if(!ClientScript.IsStartupScriptRegistered("clientScript"))
            {
                ClientScript.RegisterStartupScript(Page.GetType(), "clientScript", scriptor);
            }

and
Response.Write("&lt;script type=text/javascript&gt;self.close()&lt;/script&gt;");

this is in my click event
Does anyone know how i can fix this one?
please help
AnswerRe: Close browser window. Pin
Martin Jarvis20-May-10 6:07
Martin Jarvis20-May-10 6:07 
AnswerRe: Close browser window. Pin
Sandeep Mewara20-May-10 8:21
mveSandeep Mewara20-May-10 8:21 
GeneralRe: Close browser window. Pin
Morgs Morgan20-May-10 22:48
Morgs Morgan20-May-10 22:48 
QuestionImport ExelSheetData into SqlServer2005 Table Pin
lrsalunkhe19-May-10 21:33
lrsalunkhe19-May-10 21:33 
AnswerRe: Import ExelSheetData into SqlServer2005 Table Pin
Morgs Morgan20-May-10 0:03
Morgs Morgan20-May-10 0:03 
QuestionInternal Server Error Pin
#Jet19-May-10 14:32
#Jet19-May-10 14:32 
AnswerRe: Internal Server Error Pin
R. Giskard Reventlov19-May-10 21:23
R. Giskard Reventlov19-May-10 21:23 
AnswerRe: Internal Server Error Pin
The Man from U.N.C.L.E.19-May-10 22:08
The Man from U.N.C.L.E.19-May-10 22:08 
AnswerRe: Internal Server Error Pin
#Jet20-May-10 3:21
#Jet20-May-10 3:21 
Questionsend alert message from child ascx to the parent page Pin
netJP12L19-May-10 9:59
netJP12L19-May-10 9:59 
AnswerRe: send alert message from child ascx to the parent page Pin
raju melveetilpurayil19-May-10 10:40
professionalraju melveetilpurayil19-May-10 10:40 
AnswerRe: send alert message from child ascx to the parent page Pin
T M Gray19-May-10 11:46
T M Gray19-May-10 11:46 
AnswerRe: send alert message from child ascx to the parent page Pin
PunkIsNotDead20-May-10 18:38
PunkIsNotDead20-May-10 18:38 
QuestionProblem with ForceDownloads Pin
AndyASPVB19-May-10 9:57
AndyASPVB19-May-10 9:57 
AnswerRe: Problem with ForceDownloads Pin
Venkatesh Mookkan19-May-10 16:46
Venkatesh Mookkan19-May-10 16:46 
QuestionHow to make two seperate lists of "Master" links lead to a single Details FormView control? Pin
Nostrom019-May-10 6:54
Nostrom019-May-10 6:54 
Questionunique browser session id in asp.net Pin
trilokharry19-May-10 4:54
trilokharry19-May-10 4:54 

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.