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

[Solved] Is it possible to assign values for child GridTableView using ItemDataboundEvent?

1 Answer 74 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Swetha B
Top achievements
Rank 1
Swetha B asked on 16 Nov 2009, 01:23 PM

Hi,

I am implementing hierarchy Data binding using Rad grid?but,here the datasource is "Collections".So,for giving data source to child Gird table I am using "DetailTableDataBind" event of the parent grid.But for child Grid i need to bind the values in code page.In grid for child tables there is no "Item Data bound event". How can i bind the values to controls in code file ?
Can u check the attachments for design and Code files ?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 16 Nov 2009, 01:52 PM
Hello Swetha,

You can use the ItemDataBound event of the RadGrid and check for the Name property or DataSourceID property of the gridtableview. Check out the following document which explains on how to identify the hierarchy level to which  the currently created/bound row belongs:
Distinguish grid rows in hierarchy on ItemCreated/ItemDataBound

Thanks
Shinu.
Tags
Grid
Asked by
Swetha B
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or