Hi,
I am using the RadComboBox version 2009.3.1503. I am observing the strange behavior of RadComboBox.
I have the RadComboBox in RadGrid EditItemTemplate whenever user selects the edit option on the grid row the combobox will be available to select values which will load the values on demand and it works well (I have the necessary LoadOnDemand etc., properties set and ItemsRequested event defined to feed the request). I have list of custom object values stored in page viewstate to use in page postbacks (used to bind the grid in NeedDataSource event).
The real problem occurs when user presses "Escape" key twice in the RadComboBox and clicks on Update link button on RadGrid the page postbacks and in the page viewstate our list of custom object values will be wiped out. The viewstate is returning null for this key.
This entire functionality works fine either user selects any value from the RadComboBox or don't select any value at all (custom validation works fine to identify if a value is selected, if not gives proper error message). I tried with and without setting EmptyMessage property for RadComboBox in either case it is same(pressing Escape key twice lead to wipe out the list of custom object values in the page viewstate). I came across a thread where it is discussed that pressing escape key on RadControls resets control values on the page (using form reset method) but this is wiping out the page viewstate itself. I am not sure which is causing this or is this a know issue with Telerik RadComboBox. Your help will be greatly appreciated.
Thanks,
Ravi
I am using the RadComboBox version 2009.3.1503. I am observing the strange behavior of RadComboBox.
I have the RadComboBox in RadGrid EditItemTemplate whenever user selects the edit option on the grid row the combobox will be available to select values which will load the values on demand and it works well (I have the necessary LoadOnDemand etc., properties set and ItemsRequested event defined to feed the request). I have list of custom object values stored in page viewstate to use in page postbacks (used to bind the grid in NeedDataSource event).
The real problem occurs when user presses "Escape" key twice in the RadComboBox and clicks on Update link button on RadGrid the page postbacks and in the page viewstate our list of custom object values will be wiped out. The viewstate is returning null for this key.
This entire functionality works fine either user selects any value from the RadComboBox or don't select any value at all (custom validation works fine to identify if a value is selected, if not gives proper error message). I tried with and without setting EmptyMessage property for RadComboBox in either case it is same(pressing Escape key twice lead to wipe out the list of custom object values in the page viewstate). I came across a thread where it is discussed that pressing escape key on RadControls resets control values on the page (using form reset method) but this is wiping out the page viewstate itself. I am not sure which is causing this or is this a know issue with Telerik RadComboBox. Your help will be greatly appreciated.
Thanks,
Ravi