Version 2009.1.311.35
I have a RadGrid in a Web UserControl that is loaded into another Page. In that Grid, I have defined a custom CommandItemTemplate that contains a RadComboBox for selection and a ASP Button to execute (which causes a postback calling the OnItemCommand event of the Grid).
I fill the contents of the RadComboBox during the OnItemCreated event of the Grid. When EnableViewState is true on the Grid, I have no problem reading the value of the selection of the RadComboBox through the OnItemCommand event of the Grid, but when set to false, I can never get the value of the RadComboBox because it is reset to default.
At what point and how would I get the value of the RadComboBox when EnableViewState is false? Also, I seem to only be able to reference the controls in the CommandItemTemplate during the OnItemCreated and OnItemCommand events of the Grid. Is there way to reference these controls during any other time (e.g. Page_Load)?
I have a RadGrid in a Web UserControl that is loaded into another Page. In that Grid, I have defined a custom CommandItemTemplate that contains a RadComboBox for selection and a ASP Button to execute (which causes a postback calling the OnItemCommand event of the Grid).
I fill the contents of the RadComboBox during the OnItemCreated event of the Grid. When EnableViewState is true on the Grid, I have no problem reading the value of the selection of the RadComboBox through the OnItemCommand event of the Grid, but when set to false, I can never get the value of the RadComboBox because it is reset to default.
At what point and how would I get the value of the RadComboBox when EnableViewState is false? Also, I seem to only be able to reference the controls in the CommandItemTemplate during the OnItemCreated and OnItemCommand events of the Grid. Is there way to reference these controls during any other time (e.g. Page_Load)?