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

[Solved] Update of cells after page load

2 Answers 105 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Einar
Top achievements
Rank 1
Einar asked on 08 May 2008, 09:25 AM
Hi,

I'm looking for the possibilities for doing updates of cells (text) in a RadGrid column.
The calculation time of the replacement values takes long time to generate, and it's not needed by the user immediately.
I've tried to have a label inside the item-template for the given column, with a DynamicPopulatorExtender (from the AjaxControlToolkit), with a button to trigger the dynamic populators by having a script that invokes the button-click when the page has loaded.

Any good ideas?

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 08 May 2008, 10:41 AM
Hi Einar,

Go through the online demo given below.
Automatic operations

Princy.
0
Einar
Top achievements
Rank 1
answered on 08 May 2008, 10:59 AM
Hi,

Thanks for the reply.
I'm aware of the insert/update/delete-possibilities for the grid, but it isn't exactly what I'm looking for.

I have a session-based datasource that i edit with an user control.
When I have extracted the data from the user control, and do a rebind() on the grid, I have a template column in the grid, with a empty label inside it.
Based on the entries in the data source, i need to do a calculation async, after the page has loaded, and show it in the label inside the template column as soon the calculation has finished.

As said before, the calculation time could be long, so i don't want to do it in i.e. the ItemDataBound-event.

Looks like i have to implement my own script to update the data inside the grid, or maybe place the calculation results outside the grid?
Tags
Grid
Asked by
Einar
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Einar
Top achievements
Rank 1
Share this question
or