I am attempting to dynamically change the ColumnEditor of a RadGrid based on if the value for that row is a TimeDate value or not. As it stands right now, I am doing this in the OnEditCommand event by getting the value stored, checking if it can be parsed as a Date time, then either assigning the ColumnEditor to a custom TimePickerEditor or a custom TextColumnEditor. This meaning that different rows can have different editors.
The issue is that when I switch from on row that has a timepicker to a row that has a texteditor, the viewstate is no longer valid and an exception is raised. If I set EnableViewState to false, I cannot find a way to access those controls to get the new selected values from them.
At this point I am running in circles, any help or instruction on the proper way to adjust the columneditor per row would be appreciated.
Thanks, Tyler
The issue is that when I switch from on row that has a timepicker to a row that has a texteditor, the viewstate is no longer valid and an exception is raised. If I set EnableViewState to false, I cannot find a way to access those controls to get the new selected values from them.
At this point I am running in circles, any help or instruction on the proper way to adjust the columneditor per row would be appreciated.
Thanks, Tyler