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

RadGrid. What is the itemdatabound equivalent.

2 Answers 295 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Zenute Marins
Top achievements
Rank 1
Zenute Marins asked on 07 Mar 2012, 01:56 PM
We are buiding a telerik winforms application  for the first time, and we can´t understand the radgrid event model.
There is no itemdatabound event, and although cellformatting seems to be the way to go we are not comfortable with it.
We have a very easy task (at least in Asp.net or even gridview), When a cell has a certain value, say 1, we want the grid to show 'Person'
in that same cell.
We debugged the cellformatting event and noticed that the event is fired many times. Is there an event to inspect/change  cells in a row basis. Cellformatting is an awkward  event to handle the task.

Thank you., 

2 Answers, 1 is accepted

Sort by
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 07 Mar 2012, 02:51 PM
Hello,

It would be useful to know a little more about what you would like to do, but the CellFormatting event is the way to go for changing the appearance of cells based on what you have described.

You might find it helpful to understand the RadGridView's UI Virtualization model which is explained in this article

Hope that helps
Richard
0
Zenute Marins
Top achievements
Rank 1
answered on 07 Mar 2012, 03:09 PM
Thank you Richard.

I read the article and it really helped me.

I´ll work a bit more on the grid.
Tags
GridView
Asked by
Zenute Marins
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Zenute Marins
Top achievements
Rank 1
Share this question
or