how can we close a web page in asp.net without using jscript?
Answers were Sorted based on User's Feedback
Answer / bon3less
protected void Button1_Click(object sender, EventArgs e)
{
Response.Write("<script language='javascript'> { window.close();}</script>");
}
| Is This Answer Correct ? | 63 Yes | 24 No |
Answer / shankar
<asp:Button ID="CloseButton" runat="server" Text="Close"
OnClientClick="javaScript:window.close(); return false;" />
| Is This Answer Correct ? | 73 Yes | 35 No |
Answer / raja raja cholan
First take the mouse and click the exit button in the right
corner of the browser.It will close automatically.
| Is This Answer Correct ? | 18 Yes | 23 No |
Answer / raj
All these code does not work for me. I have a manual answer.
In the keyboard give Alt+F4 for all the windows opened. It
will automatically close. then shutdown and sleep yar......
| Is This Answer Correct ? | 8 Yes | 18 No |
Code for Presenting Parent/Child Data in a Data Grid Row?
Give coding for Implementing a Fixed GridView Header in ASP.NET?
how to track links visited in google using iframes
Listview design in .net
How to get Dynamically Linked Comboboxes Set?
how to design a ListView control?
how can we close a web page in asp.net without using jscript?
How to use Client-side Script to Focus Controls in ASP.NET?
how the value of label is printed through a button in asp.net web application
how to upload a photo? i need to use it in a matrimonial applicaton...
where is assembly are store
How to send e-mail from an ASP.NET application?
16 Answers DataPoint, Infosys, Persistent, Radar, TCS, Wipro,