How To Close Browser Window With Button Click?

 Posted by Vishalneeraj-24503 on 3/1/2015 | Category: ASP.NET Interview questions | Views: 836 | Points: 40
Answer:

Write below code in Page Load Event as:-
btnClose.Attributes.Add("OnClick","window.close();");


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response