GridView控件 - 使用CSS友好的控制适配器删除EmptyDataTemplate和EmptyDataText [英] GridView - using CSS-Friendly Control Adapters removes EmptyDataTemplate and EmptyDataText

查看:117
本文介绍了GridView控件 - 使用CSS友好的控制适配器删除EmptyDataTemplate和EmptyDataText的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于在提问时指出:


  • <一个href=\"http://stackoverflow.com/questions/2966560/emptydatatemplate-and-emptydatatext-not-working-in-gridview\">EmptyDataTemplate而EmptyDataText不是在GridView的工作

使用 CSS友好的控制适配器删除,将将被EmptyDataTemplate填充或GridView控件中EmptyDataText指定的数据。

using CSS-Friendly Control Adapters removes the data that would would be populated by EmptyDataTemplate or specified in EmptyDataText in GridView.

解决方案之一是禁用GridView控件组件addapters在<指定href=\"http://stackoverflow.com/questions/2966560/emptydatatemplate-and-emptydatatext-not-working-in-gridview/3006091#3006091\">this回答

One of the solutions is to disable the addapters for GridView components as specified in this answer

有没有一种解决方案,将允许继续使用 CSS友好的控制适配器获取GridView和还利用的EmptyDataTemplate功能?

Is there a solution, that would allow to keep the use of CSS-Friendly Control Adapters for GridView and still take advantage of EmptyDataTemplate functionality?

推荐答案

从源代码,而不是使用下载链接cssfriendly建设。
目前最新的是<一个href=\"http://cssfriendly.$c$cplex.com/SourceControl/changeset/changes/24242\">http://cssfriendly.$c$cplex.com/SourceControl/changeset/changes/24242
当我使用该源EmptyDataText工作对我罚款。

Build cssfriendly from source instead of using the download link. Currently the latest is http://cssfriendly.codeplex.com/SourceControl/changeset/changes/24242 and EmptyDataText is working fine for me when I use that source.

这篇关于GridView控件 - 使用CSS友好的控制适配器删除EmptyDataTemplate和EmptyDataText的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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