【问题标题】:Where to set EnableRowsCache for Dev Express MVC GridView在哪里为 Dev Express MVC GridView 设置 EnableRowsCache
【发布时间】:2014-10-10 08:55:25
【问题描述】:

我一直按照说明在 Dev Express gridview 中为 .Net MVC 启用缓存,但我似乎找不到属性 EnableRowsCache。查看我的参考资料,我们使用的是 v13.1。如果我在 Visual Studio 中搜索对象浏览器,我确实会在 ASPxGridView 上看到该属性。

我的代码如下所示:

var gridComboBox = Html.DevExpress().GridView(
    settings =>
    {
        settings.SettingsText.Title = "Account Info";
        settings.Name = "gvCustomerAccounts";
        settings.EnableRowsCache = true; //Doesn't compile, also flagged by Resharper

这个属性是后来版本引入的,还是不适合这个gridview,还是我用错了?

【问题讨论】:

    标签: devexpress-mvc


    【解决方案1】:

    根据 Dev Express 支持,此属性是在我的版本之后的 v2013 vol 2 版本中添加的。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-09-19
      • 2018-03-16
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多