I’m trying to use the RadGrid in a Page with disabled ViewState.
<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="false" … %>
Here’s my scenario:
· My page contains a RadGrid with EditMode="EditForms" and a <rad:GridEditCommandColumn /> column.
· When clicking on this column, the edition starts as it should.
· On the next postback – might be not even due to a grid event – the grid “forgot” is has entered edit mode and the form is not displayed anymore.
I understand the behaviour since I’ve deactivated the ViewState. I’d like to maintain this information in the server in a custom way. My question is how do I hook the grid’s server-side events to tell it that it is in edit mode ?
I’ve found the following example on your community site:
http://www.telerik.com/community/code-library/submission/b311D-tgtkd.aspx
Although this example does not rely on the ViewState for the current data of the grid, it relies on the ViewState for the “edit” mode.
Thanks