在 telerik RadGrid 中选择第 50 页时出现超时错误

发布于 2024-12-07 20:22:42 字数 1228 浏览 3 评论 0原文

我正在 Radgrid 中加载 100000 条记录,如果我在 radgrid 中执行任何操作(在 RadGrid 分页器控件中选择第 50 页或在 RadGrid 中过滤某些内容),则加载时间会过长,有时我会收到类似“不够”的错误存储可用于完成此操作。”,

这是代码:

<telerik:RadGrid ID="RadGridRollup" Skin="Vista" runat="server" AutoGenerateColumns="true"

ShowHeader="true" AllowFilteringByColumn="true" AllowSorting="true" ShowFooter="false"

PageSize="50" OnNeedDataSource="RadGridRollup_NeedDataSource" AllowPaging="true"

EnableLinqExpressions="false" PagerStyle-AlwaysVisible="true" PagerStyle-Position="Bottom"

GridLines="None" Height="300px" Width="1000px" >

<ClientSettings AllowKeyboardNavigation="true" EnableRowHoverStyle="true">

<Scrolling AllowScroll="True" EnableVirtualScrollPaging="True" UseStaticHeaders="True"

SaveScrollPosition="True" />

</ClientSettings>

<GroupingSettings CaseSensitive="false" />

<MasterTableView PagerStyle-AlwaysVisible="true" PagerStyle-Position="Bottom" PagerStyle-Mode="NextPrevAndNumeric">

<ItemStyle Wrap="true" />

<Columns>

</Columns>

</MasterTableView>

</telerik:RadGrid>

之后我包括了属性(ViewStateMode =“Disabled”EnableViewState =“false”对于RadGrid),当时我也是有同样的错误。

谁能建议我需要进一步做些什么来提高性能?

I am loading 100000 records in the Radgrid, if I am doing anything (select 50th page in RadGrid Pager Control or Filter something in the RadGrid) in the radgrid it's taking too much of time to load, sometimes I got the error like "Not enough storage is available to complete this operation.",

This is the code:

<telerik:RadGrid ID="RadGridRollup" Skin="Vista" runat="server" AutoGenerateColumns="true"

ShowHeader="true" AllowFilteringByColumn="true" AllowSorting="true" ShowFooter="false"

PageSize="50" OnNeedDataSource="RadGridRollup_NeedDataSource" AllowPaging="true"

EnableLinqExpressions="false" PagerStyle-AlwaysVisible="true" PagerStyle-Position="Bottom"

GridLines="None" Height="300px" Width="1000px" >

<ClientSettings AllowKeyboardNavigation="true" EnableRowHoverStyle="true">

<Scrolling AllowScroll="True" EnableVirtualScrollPaging="True" UseStaticHeaders="True"

SaveScrollPosition="True" />

</ClientSettings>

<GroupingSettings CaseSensitive="false" />

<MasterTableView PagerStyle-AlwaysVisible="true" PagerStyle-Position="Bottom" PagerStyle-Mode="NextPrevAndNumeric">

<ItemStyle Wrap="true" />

<Columns>

</Columns>

</MasterTableView>

</telerik:RadGrid>

After that I include the properties (ViewStateMode="Disabled" EnableViewState="false" for RadGrid) at that time also I am having same error.

Can anyone suggest what I need to do further to improve the performance?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文