Javascript Close Current Window in ASP.Net

  • Javascript Close Current Window in ASP.Net

    for further details and related topics http://www.codecorner.somee.com/
  • 1 Comment sorted by


  • This code will open a popup window from ASP.Net

    Untitled Page


    function OpenProductSummary()
    {

    var url = '../WebForm1.aspx';

    window.open(url, '', 'width=400, height=300, resizable=yes, scrollbars=yes, modal=yes');
    }













    To CLose Popup after ask alert msg then use this code


    Untitled Page


    function close_window() {
    if (confirm("Are you sure to Close SignUp window?")) {
    close();
    }
    }












Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week

    Optimum Creative