在asp.net内容页面中响应gridview [英] Responsive gridview in asp.net content page

查看:76
本文介绍了在asp.net内容页面中响应gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在单个aspx页面中创建响应式gridview,但在使用内容页面时却无法做到这一点。



以下是java函数和参考link



I am able create a responsive gridview in single aspx page , but not able to do the same when using content page .

below is the java function and reference link

<script type="text/javascript" src="js/jquery.min.js"></script>

  <script type="javascript" src="js/footable.min.js"></script>
    <script type="text/javascript"> 
$(function () {
$('#GridView1').footable();});
 </script>

推荐答案

(function(){
(function () {


('#GridView1')。footable ();});
< / script >
('#GridView1').footable();}); </script>


如果你的控件在
Content Place holder<br />

那么,

then,


这篇关于在asp.net内容页面中响应gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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