Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how can we close a web page in asp.net without using jscript?

Answers were Sorted based on User's Feedback



how can we close a web page in asp.net without using jscript?..

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

how can we close a web page in asp.net without using jscript?..

Answer / shankar

<asp:Button ID="CloseButton" runat="server" Text="Close"
OnClientClick="javaScript:window.close(); return false;" />

Is This Answer Correct ?    73 Yes 35 No

how can we close a web page in asp.net without using jscript?..

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

how can we close a web page in asp.net without using jscript?..

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

Post New Answer

More ASP.NET Code Interview Questions

What is the code of Password Recovery or Forget your password? Plz tell in c # language.

0 Answers  


how to track links visited in google using iframes

0 Answers  


HOw to Build a Nested GridView Control with ASP.NET?

2 Answers  


How to get the row index on checking a Checkbox in a ListView

1 Answers  


Coding for .NET Delegates?

0 Answers  


How to Create Scrollable Micro Windows?

2 Answers  


how to create a search bar which access data from various websites and retrieves the data

0 Answers  


Code for Communicating over Sockets?

0 Answers  


Common UI for Multiple web applications. Suppose there are 35 websites using same third party controls.These 3rd party controls are made together that all 35 websites can use these controls.If we put all 3rd party controls and use its dll in 35 websites,only class files will be accessable. But I want to use CSS,images also in all 35 websites. how I can design the N-tier solution for this project.

0 Answers   TCS,


how to design a ListView control?

1 Answers  


Data Reader Vs DataSet

5 Answers   TCS,


what is software testing

1 Answers   TCS,


Categories
  • ASP.NET Code Interview Questions ASP.NET Code (46)
  • VB.NET Code Interview Questions VB.NET Code (9)
  • C Sharp Code Interview Questions C Sharp Code (51)
  • ADO.NET Code Interview Questions ADO.NET Code (8)