This is a migrated thread and some comments may be shown as answers.

Problem with Rad Gid Performance

1 Answer 84 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ruben
Top achievements
Rank 1
Ruben asked on 27 Aug 2008, 03:59 PM
Hi 

When Grid fill 130,000 rows the performance of render is very slowly.

this is Asp.Net code :

<telerik:RadGrid ID="rgrRegistrosPermitidos" runat="server"   
        AllowFilteringByColumn="True" GridLines="None"  EnableLinqExpressions="true" AllowPaging="true" 
        onneeddatasource="rgrRegistrosPermitidos_NeedDataSource" ShowGroupPanel="True"   
        Skin="Office2007" AutoGenerateColumns="False">  
        <GroupPanel Text="Arrastrar una columna si desea agrupar">  
        </GroupPanel> 
        <MasterTableView> 
        <Columns> 
                    <telerik:GridBoundColumn ItemStyle-Width="400px" UniqueName="Empleado" DataFormatString="<nobr>{0}</nobr>" SortExpression="Empleado" HeaderText="Empleado" DataField="Empleado">  
                        <ItemStyle Width="180px"></ItemStyle> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn ItemStyle-Width="400px" UniqueName="proyecto" DataFormatString="<nobr>{0}</nobr>" SortExpression="proyecto" 
                        HeaderText="Proyecto" DataField="proyecto">  
                    <ItemStyle Width="180px"></ItemStyle> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn ItemStyle-Width="200px" UniqueName="Actividad" DataFormatString="<nobr>{0}</nobr>" SortExpression="Actividad" 
                        HeaderText="Actividad" DataField="Actividad">  
                        <ItemStyle Width="180px"></ItemStyle> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridDateTimeColumn ItemStyle-Width="80px"  UniqueName="Fecha" DataFormatString="{0:d}" 
                        SortExpression="Fecha" HeaderText="Fecha" DataField="Fecha"  > 
                        <ItemStyle Width="80px"></ItemStyle> 
                    </telerik:GridDateTimeColumn> 
                    <telerik:GridBoundColumn ItemStyle-Width="40px"  UniqueName="Anio"    
                        SortExpression="Anio" HeaderText="Año" DataField="Anio"  > 
                        <ItemStyle Width="40px"></ItemStyle> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn ItemStyle-Width="40px"  UniqueName="Mes"    
                        SortExpression="Mes" HeaderText="Mes" DataField="Mes"  > 
                        <ItemStyle Width="40px"></ItemStyle> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn ItemStyle-Width="10px"  UniqueName="Horas" SortExpression="Horas" 
                        HeaderText="Horas" DataField="Horas">  
                        <ItemStyle Width="40px"></ItemStyle> 
                    </telerik:GridBoundColumn> 
        </Columns> 
 
        </MasterTableView> 
        <ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True"   
            ReorderColumnsOnClient="True">  
            <Selecting AllowRowSelect="True" /> 
        </ClientSettings> 
    </telerik:RadGrid> 

Thanks

Ruben Herrera

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 28 Aug 2008, 04:22 AM
Hi Ruben,

Can you set the PageSize of the Grid to a small value and see whether the performance of the Grid is good.

ASPX:
telerik:RadGrid ID="rgrRegistrosPermitidos" runat="server"  AllowPaging="true" PageSize="50" >   


You can also refer the following help article which gives information regarding optimizing the Grid performance.
Client/server grid performance optimizations

Shinu



Tags
Grid
Asked by
Ruben
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or