Hi,
I have a RadGrid using the NeedDataSource event. The problem is that when I enter in EditMode, the entire grid is rebinded and I don't want to keep data in ViewState or Session variable, so on each edit/cancel edit the grid is rebinded.
I am keeping my primary key in the DataKeyValues, so is it possible to not rebind the grid on edit so I can create my own Object by passing the primary key.
I could use a NestedViewTemplate that have a UserControl that I can pass the primary key value and then I could manually bind this usercontrol with a custom object.
But the NestedViewTemplate also rebind the grid on ExpandColumn.
Any solutions?
Jocelyn
I have a RadGrid using the NeedDataSource event. The problem is that when I enter in EditMode, the entire grid is rebinded and I don't want to keep data in ViewState or Session variable, so on each edit/cancel edit the grid is rebinded.
I am keeping my primary key in the DataKeyValues, so is it possible to not rebind the grid on edit so I can create my own Object by passing the primary key.
I could use a NestedViewTemplate that have a UserControl that I can pass the primary key value and then I could manually bind this usercontrol with a custom object.
But the NestedViewTemplate also rebind the grid on ExpandColumn.
Any solutions?
Jocelyn