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

GridDataItem

2 Answers 98 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ban
Top achievements
Rank 1
Ban asked on 06 Jan 2009, 05:32 PM
Hi,
How can I reach a bound column in GridDataItem and get his boud Value not the Text appear on the Grid column, Please advice me ..
Thanks

Ban

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 06 Jan 2009, 07:26 PM
Hello Ban,

Test the following suggestion:
GridDataItem item = (GridDataItem)e.Item; 
Hashtable values = new Hashtable(); 
item.ExtractValues(values); 
object yourValue = values["yourColumn"]; 

Let us know whether this helps.




Best regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ban
Top achievements
Rank 1
answered on 07 Jan 2009, 08:31 AM
Hi Daniel,
Thank you very much for your help, truly the problem make me crazy, its work okay and that relief me, thanks again for the help

Regards

Ban
Tags
Grid
Asked by
Ban
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Ban
Top achievements
Rank 1
Share this question
or