title: Is it possible to open popup window in button click event without using jquery in asp.net C#?
body: <p>Hi I want to open popup window in button click event without using j-query in asp.net C#.
  This is simple task i am familiar with Asp.Net MVC. But i am not familiar in Asp.Net so only i am struggling for this simple task. </p>
  
  <p>Please any one tell me how to open popup window by button click event without using jquery in asp.net C#.</p>
  
  <p>My web form</p>
  
  <h1>SpecilalityMaster.Aspx</h1>
  
  <pre><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="specialitymaster.aspx.cs" Inherits="popupwindow.admin.specialitymaster" %&gt;
  
  &lt;asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"&gt;
      &lt;form id="frmPopupExample" runat="server"&gt;
  
  &lt;asp:Button ID="btnOpenPopupWindow" 
              runat="server" 
              Text="Open Popup Window" OnClick="btnOpenPopupWindow_Click" 
               /&gt;
   &lt;/form&gt;
  
  &lt;div class="popup"&gt;
       &lt;asp:TextBox ID="_lname" runat="server"&gt;&lt;/asp:TextBox&gt;
  
          &lt;asp:Button ID="Button1" 
              runat="server" 
              Text="save" OnClick="Button1_Click" 
               /&gt;
      &lt;/div&gt;
   &lt;/asp:Content&gt;
  </code></pre>
  
  <h1>specialitymaster.aspx.cs</h1>
  
  <pre><code>public partial class specialitymaster : System.Web.UI.Page
  {
      protected void Page_Load(object sender, EventArgs e)
      {
  
      }
  
      protected void btnOpenPopupWindow_Click(object sender, EventArgs e)
      {
  
      }
  
      protected void Button1_Click(object sender, EventArgs e)
      {
  
      }
  }
  </code></pre>
  
  <p>i just tried simply. i designed one button and one popup window.if i click open popup window in button click event i need to open popup window. i donno it is possible or not.i created button click event in CS page but i donno how to call that popup window name in button click event .</p>
  
  <p>example </p>
  
  <p><a href="https://i.stack.imgur.com/DZXW1.png" rel="nofollow noreferrer">Desirable result: Please see image.</a></p>