open aspx page popup window using asp.net c#(onclick event)

protected void showBtn_Click(object sender, EventArgs e)
    {
        string url = "../Admin/DuctorPrescriptionDetails.aspx";
        string s = "window.open('" + url + "', 'popup_window', 'width=1200,height=500,left=100,top=100,resizable=no');";
        ClientScript.RegisterStartupScript(this.GetType(), "script", s, true);

    }

Comments

Popular posts from this blog

FAQ BIND

Create Schema Using C# Asp .Net Dynamically.

resgination mail