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

[Solved] Radgrid resent when editing a row

1 Answer 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sylvain
Top achievements
Rank 1
Sylvain asked on 06 Nov 2009, 07:51 PM
Hello,

Whenever I edit a row on radgrid, it appears that the whole grid is sent back by the server. I am editing the row with a modal popup box that is filled with a webusercontrol.

When I watch the traffic (with fiddler), it looks like this:

Initial load of grid: 123K
Entering Edit mode on a row: 184K
Exiting Edit mode: 117K

Two things I like to do:
1) When I enter editmode, only what is required for the popup to show would be sent.
2) When I exit edit mode, the popup would disappear and only the editedrow would be refreshed by the server.

Is this possible?
Edited: I am using RadAjaxManager and RadScriptManager on the page.

Thanks,
 
Sylvain

1 Answer, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 06 Nov 2009, 10:43 PM
If you wanted to you could take a look into client-side Add/Insert/Delete like in this demo, it would allow you to not have a postback on each edited row. I would then also suggest that you look into batch updating for the sake of your overall traffic.
Tags
Grid
Asked by
Sylvain
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Share this question
or