I try to call gridview and pop up on one button click
pop up
<script type="text/javascript">
$(function () {
$("#divcontainer").dialog({
modal: true,
autoOpen: false,
title: "Chart",
width: 600,
height: 450
});
$("#search_data").click(function () {
$("#divcontainer").dialog('open');
search_data_Click();
});
});
</script>
button
<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
check this

whereas i want both on one button any solution?