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

[Solved] GridView template caching question

4 Answers 187 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Joachim
Top achievements
Rank 1
Joachim asked on 02 Feb 2011, 04:23 PM
Hi Telerik Team,

I'm very interested about Performance's Tips and Tricks because i use your RadGridView with a lot of data and with a lot of templates.
I read somewhere that you've added a template caching mechanism in the latest version of RadGridView.
What should i do to benefit Template Caching ?

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 02 Feb 2011, 04:57 PM
Hello Joachim,

 This should work by default - no need to set or configure anything. 

Kind regards,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Joachim
Top achievements
Rank 1
answered on 02 Feb 2011, 05:23 PM
Ok, thank you for your quick answer !

By the way i have an other question. I need your advices to use your RadGridView and not degrade performance because i use a lot of data ( 30000 rows grouped on 4 level ) and a lot of template (you can see the screen shot)
So i have an other question. What is better to not degrade performance when we have to use CellTemplate and CellEditTemplate ?
Is it better to use GridViewDataColumn or GridViewColumn ?

Thank you for your help guys !
0
Joachim
Top achievements
Rank 1
answered on 04 Feb 2011, 05:27 PM
Please can you tell me what is better to not degrade performance when we have to use CellTemplate and CellEditTemplate ?
Is it better to use GridViewDataColumn or GridViewColumn ?

Thanks for your help.


0
Vlad
Telerik team
answered on 09 Feb 2011, 02:29 PM
Hi,

 GridViewColumn will be faster since it is not associated with any bindings. CellEditTemplate will be loaded only when the cell is in edit mode - you can have only one cell in edit mode in the grid. CellTemplate is loaded for all cells not in edit mode. 

Regards,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
GridView
Asked by
Joachim
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Joachim
Top achievements
Rank 1
Share this question
or