Telerik grid performance after filtering or sorting

Posted by sarnaiksuraj-12609 under ASP.NET on 5/20/2013 | Points: 10 | Views : 3250 | Status : [Member] | Replies : 1
It takes longer than I expect to show results after filtering or sorting one of the Telerik grids. we can optimize the performance? and how to optimize the performance.
following is the code:

<asp:UpdatePanel ID="UppanelGrid" runat="server">
<ContentTemplate>
<rad:RadGrid ID="grdListings" runat="server" AutoGenerateColumns="False" AllowPaging="true"
AllowFilteringByColumn="true" EnableExpressions="false" AllowSorting="true" SortingSettings-SortedDescToolTip="Sorted Descending"
SortingSettings-SortedAscToolTip="Sorted Ascending">
<GroupingSettings CaseSensitive="false" />
<MasterTableView AllowFilteringByColumn="true" AllowSorting="true" AllowNaturalSort="false">
<Columns>
<rad:GridBoundColumn DataField="Vendor" HeaderText="Vendor" SortExpression="Vendor"
FilterControlWidth="80%" ShowFilterIcon="false" CurrentFilterFunction="Contains"
AutoPostBackOnFilter="true" />
<rad:GridTemplateColumn HeaderText="Listing" DataField="Listing" SortExpression="Listing"
CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true"
FilterControlWidth="80%">
<ItemTemplate>
<asp:HyperLink ID="lnkName" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Listing") %>'
NavigateUrl='<%# DataBinder.Eval(Container.DataItem,"URL") %>'></asp:HyperLink>
</ItemTemplate>
</rad:GridTemplateColumn>
AutoPostBackOnFilter="true" />
</Columns>
</MasterTableView>
</rad:RadGrid>
</ContentTemplate>
</asp:UpdatePanel>

Andfor code behind i used the needdatasource event for filtering and sorting





Responses

Posted by: Vuyiswamb on: 9/3/2013 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
Update panels makes the grid Slow.

Telerik has its own Ajax controls , they are very effeciant. try this

http://demos.telerik.com/aspnet-ajax/ajax/examples/overview/defaultcs.aspx

Thank you for posting at Dotnetfunda
[Administrator]

sarnaiksuraj-12609, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response