在一个按钮上弹出和网格视图 [英] Pop up and grid view on one button

查看:67
本文介绍了在一个按钮上弹出和网格视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试调用gridview并弹出一键点击



弹出



< b>我尝试了什么:



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

pop up

What I have tried:

<script type="text/javascript">
  $(function () {
      $("#divcontainer").dialog({
          modal: true,
          autoOpen: false,
          title: "Chart",
          width: 600,
          height: 450
      });
      $("#search_data").click(function () {
          $("#divcontainer").dialog('open');
      });
  });



按钮




button

<input type="button" ID="search_data"    runat="server" 

class="sear_btn"  value="Search Data" OnServerClick="search_data_Click" />





现在我删除此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?

推荐答案

function (){


#divcontainer)。dialog({
modal: true
autoOpen: false
title: 图表
宽度: 600
height: 450
});
("#divcontainer").dialog({ modal: true, autoOpen: false, title: "Chart", width: 600, height: 450 });


< span class =code-string>#search_data)。click( function (){
("#search_data").click(function () {


这篇关于在一个按钮上弹出和网格视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆