Slow Performance to put Radgrid in Editmode

3 posts, 0 answers
  1. NVB
    NVB avatar
    39 posts
    Member since:
    Apr 2009

    Posted 07 Jul 2012 Link to this post

    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. Jayesh Goyani
    Jayesh Goyani avatar
    2733 posts
    Member since:
    May 2010

    Posted 08 Jul 2012 Link to this post

    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
  3. NVB
    NVB avatar
    39 posts
    Member since:
    Apr 2009

    Posted 09 Jul 2012 Link to this post

    Jayesh

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

    Thanks
Back to Top