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

Grid builded Programmatically: prob on update

1 Answer 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Blop
Top achievements
Rank 1
Blop asked on 02 Apr 2012, 03:16 PM
Hello,
I'm building my radgridview programmatically. The source is datatable which I build too. 
When I'm in editmode (I use InPlace) how can I get the new data in the on the update?

I can retrieve the row of the edited item but how can I get the column?
I tried to do something like that:

 e.Item.DataItem("Unique_Name")

but I can't get it work... 

Can you help?
Thanx

1 Answer, 1 is accepted

Sort by
0
Blop
Top achievements
Rank 1
answered on 03 Apr 2012, 10:07 AM
With vb.net answer is :
 Dim txtbx As TextBox = CType(item("Unique_Name").Controls(0), TextBox)
 string = txtbx.Text
Tags
Grid
Asked by
Blop
Top achievements
Rank 1
Answers by
Blop
Top achievements
Rank 1
Share this question
or