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

Slow Performance to put Radgrid in Editmode

2 Answers 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
NVB
Top achievements
Rank 1
NVB asked on 07 Jul 2012, 04:00 PM
Hi

I am using Radgrid which has about 10 columns and 2 group levels . As per requirement i have to place complete grid in Editmode ( Infact 3 columns will be in editmode). I have edit button in CommandItem template.  When I click  Editbutton it places complete Radgrid in Edimode . basically I am running the server code  RadGrid1.EditIndexes.Add(i) for all the rows.

Performance is very slow and if the rows are more its taking too long to put complete grid in edit mode.

Are there anyways  to improve the performance of this.

Thanks

2 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 08 Jul 2012, 03:50 PM
Hello,

one of the reason is that may be you get data from DB or some where else, while getting this data it was taking some more time.

So, Please get your data when your page first time load and store in session/ViewState/Cache.

When you need to assign this data to grid at that time you can get it from session/ViewState/Cache.

Thanks,
Jayesh Goyani
0
NVB
Top achievements
Rank 1
answered on 09 Jul 2012, 01:03 PM
Jayesh

Thanks for you sugesstion. I will try if this approach works for me

Thanks
Tags
General Discussions
Asked by
NVB
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
NVB
Top achievements
Rank 1
Share this question
or