I have a simple UltraWebGrid associated to one ObjectDataSource, such data source uses two parameters to pull data from my data base. After pulling the data I'm trying to update one of the rows and then I click on a button which causes a postback (to save the transaction). One of the parameter is a wbdropdown control and the other one is a textbox. When I replace the drop down with another text box, the update works fine but once I replace it with a drop down it doesn't work. If I use a WebDataGrid, it works fine (using the drop down as parameter). I don't know what could be wrong. I'm posting the code. There is no code behind.
Hello,
I am following up to see if you need any assistance with this matter.
When DropDown is used as an editor control it is needed to provide selected text value to the update method of Object data source. By looking at the markup I am not certain how WebDropDown is used as an editor control. You can use a custom editor control as an editor in the WebGrid. In order to serve as a custom editor control, the control you use must implement the IProvidesEmbeddableEditor interface. Refer to the links below that will give you more details on this:
<http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebGrid_Adding_a_Custom_Editor_Control_to_WebGrid.html> <http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebGrid_Display_WebCombo_in_a_Cell.html>
Hope this helps.