在 telerik RadGrid 中选择第 50 页时出现超时错误
我正在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论