Hi,
I m having drag and drop operation using radgrid in my application. It is very much slow even i have commented the server side coding sections like RowDrop, ItemDataBound, prerender. Now i dont have any operations in server side, simply i drag and drop but then too it takes 30 secs.
Here is my code snippet..
<telerik:RadGrid runat="server" ID="grd_CommercialDetails" OnRowDrop="grd_CommercialDetails_RowDrop" AllowFilteringByColumn="true" |
AllowPaging="True" AllowMultiRowSelection="true" DataSourceID="CommercialDataSource" AutoGenerateColumns="false" |
PageSize="5" AllowSorting="true" PagerStyle-Mode="NextPrevNumericAndAdvanced" OnNeedDataSource="grd_CommercialDetails_NeedDataSource" > |
<MasterTableView DataKeyNames="Commercial_Id" AutoGenerateColumns="false" DataSourceID="CommercialDataSource" AllowFilteringByColumn="true"> |
<Columns> |
<telerik:GridClientSelectColumn UniqueName="Commercial_Select" HeaderStyle-Width="20px" /> |
<telerik:GridBoundColumn DataField="ReleaseOrderNo" HeaderText="ReleaseOrderNo" Display="false"></telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="Commercial_Id" HeaderText="CommercialId" Display="false"></telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="Company" HeaderText="Company" Display="false"></telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="CommercialName" HeaderText="Commercial" FilterControlWidth="40px" HeaderStyle-Width="80px" Resizable="true" Display="true"></telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="Client" HeaderText="ClientName" Display="false"></telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="Duration" HeaderText="Duration (secs)" Display="true" FilterControlWidth="25px" HeaderStyle-Width="60px"></telerik:GridBoundColumn> |
<telerik:GridDateTimeColumn UniqueName="DateTime" DataFormatString="{0:d}" FilterControlWidth="82px" HeaderStyle-Width="110px" |
SortExpression="DateTime" HeaderText="Date" DataField="Date"> |
</telerik:GridDateTimeColumn> |
<telerik:GridBoundColumn DataField="Date" HeaderText="Date" Display="false" DataFormatString="{0:d}"></telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="CommericalTime" HeaderText="Total Duration(secs)" Display="true" FilterControlWidth="25px" HeaderStyle-Width="60px"></telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="CommTimeAvail" HeaderText="TotalAvailable Duration(secs)" Display="true" FilterControlWidth="25px" HeaderStyle-Width="60px"></telerik:GridBoundColumn> |
</Columns> |
</MasterTableView> |
<SelectedItemStyle BackColor="BurlyWood" Font-Bold="true" ForeColor="Black" /> |
<ClientSettings AllowRowsDragDrop="True"> |
<Selecting AllowRowSelect="True" EnableDragToSelectRows="false"/> |
<Scrolling AllowScroll="true" UseStaticHeaders="true"/> |
</ClientSettings> |
<PagerStyle Mode="NextPrevNumericAndAdvanced" PageButtonCount="5" AlwaysVisible="true" /> |
</telerik:RadGrid> |
Pleas give any suggestions,
Thanks in advance.
Regards,
Maha:)
.