Hey guys,
We have an UltraWebGrid that has 3 columns, one of them is hidden and the other two have combo boxes as editors (the combo boxes load the content dynamically using javascript : http://samples.infragistics.com/2008.2/webfeaturebrowser/srcview.aspx?path=WebGrid/AdjustableCombo/AdjustableCombo.src).
When the page loads for the first time the grid shows n number of empty rows, where n is exactly the number of rows the datasource has.
Whenever we cause a postback, either by clicking a button or clicking a header of the grid to sort the records, we are able to see the value of the records, we are even able to edit, add new row, etc.
If we remove the combo boxes from the grid (by removing the EditorControlId properties from the grid columns) the grid will display correctly, so we think it has to do with the combo boxes. We have tried seting the datasource of the combo boxes using the InitializeDataSource event and also using the DataSourceId property but we got the same result.
Do you guys know what might be causing the problem or how we can troubleshoot it?
Thanks in advance.
The behavior is clearly not right, but I don't believe we have enough information to determine whether or not this is a bug.
Are you able to reproduce this behavior in an isolated sample? If so, then please submit a support request and we'll be glad to investigate in detail.
Ok, since no help was provided here, we had to come up with a quick dirty fix.
we think this is a bug (correct me if I'm wrong) so we decided to remove the EditorControlId property, add a button, and set the EditorControlId property in the click event handler.Also we had to set the visible property of the combo boxes to false and then to true, so they won't show when the page first loads.