Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1705
Grid showing empty/blank rows on page load
posted

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.

Parents
No Data
Reply
  • 1705
    posted

     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.

     

Children