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

Expanding a row while in editmode

1 Answer 43 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sadiq
Top achievements
Rank 1
Sadiq asked on 07 Feb 2011, 06:24 PM
Hello,

When i have a row in edit mode and try to expand, I cant retrieve the parentitem's column value.

In RadGrid1_DetailTableDataBind:

when i do  e.DetailTableView.ParentItem("BondID").Text) it returns " "

This works fine if the row is not in edit mode.

1 Answer, 1 is accepted

Sort by
0
Sadiq
Top achievements
Rank 1
answered on 07 Feb 2011, 06:32 PM
Found the solution! the following is the correct way of getting the value:


e.DetailTableView.ParentItem.GetDataKeyValue("BondID").ToString
Tags
Grid
Asked by
Sadiq
Top achievements
Rank 1
Answers by
Sadiq
Top achievements
Rank 1
Share this question
or