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

how to get programmatically bound column value using radgrid

1 Answer 41 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Coolbudy
Top achievements
Rank 1
Coolbudy asked on 09 Jul 2013, 07:15 AM
Hello friends


I bound radgrid programatically with using GridTableView but i don't have any idea how can i get value of detailtableview bound column value
on itemdatabound any budy have idea?

1 Answer, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
Iron
Veteran
Iron
answered on 09 Jul 2013, 09:50 PM
A better question is when are you trying to get access to the value?  The item databound event will give you access to the object which is bound to the row.  You could then case the e.Item to the proper data type and have direct access to the item you are looking for. 

If you are trying to find the value after an edit then things get complicated.  You could add the column to the "DataKeyNames" list so that the values are preserved.  You can then extract the value from that collection.

The online help files do have several examples on how to do this of course.
Tags
General Discussions
Asked by
Coolbudy
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Iron
Veteran
Iron
Share this question
or