scropio gurl

scropio gurl

  • NA
  • 147
  • 99.6k

pop up and grid view on one button

Jul 13 2016 5:55 AM

I try to call gridview and pop up on one button click

pop up

  1. <script type="text/javascript">  
  2.      $(function () {  
  3.          $("#divcontainer").dialog({  
  4.              modal: true,  
  5.              autoOpen: false,  
  6.              title: "Chart",  
  7.              width: 600,  
  8.              height: 450  
  9.          });  
  10.          $("#search_data").click(function () {  
  11.              $("#divcontainer").dialog('open');  
  12.          });  
  13.      });  
  14. lt;/script>  
 

button

 
  1. <input type="button" ID="search_data"    runat="server" class="sear_btn"  value="Search Data" onserverclick="search_data_Click" />  

now when i remove this OnServerClick="search_data_Click" from button then pop up display and grid view not display and when i add this then pop up not appear grid view display

whereas i want both on one button any solution?


Answers (6)