title: hide buttons in web forms app if being page has two user control refs
body: <p>I am working on a web forms app where one of my user controls is used on multiple pages.  Is there a simple if/else statement that can hide a div if not referenced to a specific page.  For instance, I have a button group that is showing in both page A and B but I only need it to show on page B if that page is active.  Any help  will be appreciated.</p>
  
  <p>Here is the button group I wish to have only shown on one user control:</p>
  
  <pre><code>&lt;asp:Label ID="lblQty"  runat="server"  AssociatedControlID="txtQuantity"&gt;Quantity&lt;/asp:Label&gt;
  
                          &lt;div class="row"&gt;
                              &lt;div class="col-xs-12 col-md-6"&gt;
                                  &lt;div class="input-group mb-3"&gt;
                                      &lt;div class="input-group-prepend"&gt;
                                          &lt;button type="button" class="btn btn-primary" onclick="changeQuantity('minus');" id="minus-btn"&gt;&lt;i class="fa fa-minus"&gt;&lt;/i&gt;&lt;/button&gt;
                                      &lt;/div&gt;
                                      &lt;asp:TextBox ID="txtQuantity"  cssClass="form-control form-control-sm"  runat="server" value="1" min="1" max= ClientIDMode="Static"&gt;&lt;/asp:TextBox&gt;
  
                                      &lt;div class="input-group-prepend"&gt;
                                          &lt;button type="button" class="btn btn-primary" onclick="changeQuantity('plus');" id="plus-btn"&gt;&lt;i class="fa fa-plus"&gt;&lt;/i&gt;&lt;/button&gt;
                                      &lt;/div&gt;
                                  &lt;/div&gt;
                              &lt;/div&gt;                              
                          &lt;/div&gt;
  </code></pre>
  
  <p>This is the block that is showing on two different .ascx controls.</p>