GridView未显示在内容页面中 [英] GridView not shown in the content page

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

问题描述

大家好!

我的母版页中有一个gridview.我已经将其绑定到数据源.当我运行内容页面时,gridview哪里都看不到.尽管我可以在设计模式下看到gridview.

Hi all!!

I have a gridview in my master page. i have bound it to a datasource. when i am running the content page, gridview is no where to be seen. Although i can see the gridview in design mode.

推荐答案

如果在母版页的内容控件中使用gridview,将不会显示. 您可以指定放置在ContentPlaceHolder控件标记内的默认内容,但是该内容将被关联的内容页面中的任何内容替换. 选中此 [尝试一下 [
if you use gridview in the content control of masterpage it will not display.
You can specify default content placed within the ContentPlaceHolder control tags, but this content is replaced by any content in an associated content page. check this[^]

may be Try this[^]


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

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