Hi there,
Using RadGrid inbuilt popup edit form, which i use <%# DataBinder.Eval( Container, "DataItem.Value") %> to bind the value from the selected grid to the popup UserControl. However, is there a way to bind the ParentID of the nested grid onto the popup Edit Form.
ParentID - 1
- Child 1
- Child 2
ParentID - 2
......
Is usere press the nested grid (ParentID - 1 Nested grid) Add, is there a way to pass ParentID 1 to the popup? Ive tried
which will bind the ParentID if its "Add" Command is invoke, which doesnt work.
regards,
Adrian
Using RadGrid inbuilt popup edit form, which i use <%# DataBinder.Eval( Container, "DataItem.Value") %> to bind the value from the selected grid to the popup UserControl. However, is there a way to bind the ParentID of the nested grid onto the popup Edit Form.
ParentID - 1
- Child 1
- Child 2
ParentID - 2
......
Is usere press the nested grid (ParentID - 1 Nested grid) Add, is there a way to pass ParentID 1 to the popup? Ive tried
<
asp:hiddenfield
id
=
"hidParentID"
value='<%# (Container is GridEditFormInsertItem) ? DataBinder.Eval( Container, "OwnerTableView.ParentItem.ParentID") :DataBinder.Eval( Container, "DataItem.ParentID") %>' runat="server" />
regards,
Adrian