I want to get the dataitem of the selected row in a RadGrid, then programmatically bind it to a FormView control. I have tried...
FormView1.DataSource = RadGrid1.SelectedItems(0)
and
FormView1.DataSource = RadGrid1.SelectedItems(0).Cells
and
FormView1.DataSource = RadGrid1.SelectedItems(0).OwnerTableView.Items
But none of those expose the dataitems associated with the grid. One other detail is that I want to bind dataitmes that might not necessarily be shown in the grid, but are included in the grid's datasource.
THanks.
FormView1.DataSource = RadGrid1.SelectedItems(0)
and
FormView1.DataSource = RadGrid1.SelectedItems(0).Cells
and
FormView1.DataSource = RadGrid1.SelectedItems(0).OwnerTableView.Items
But none of those expose the dataitems associated with the grid. One other detail is that I want to bind dataitmes that might not necessarily be shown in the grid, but are included in the grid's datasource.
THanks.