Group: Forum Members
Posts: 34,
Visits: 9.9K
|
Hello,
I'm doing a test web page with a DevExpress 8.1.1 ASPxGridView and a WebBusinessBindingSource.
I've linked the WebBusinessBindingSource to a SF BO that represents a SQL2005 table. It has some custom properties on it but aside from that is a straight mapping of the table.
I've set the data source for the grid to the WebBusinessBindingSource. (The grid doesn't appear to like the custom properties, so I've just loaded a couple of varchar fields as columns and under those conditions it appears to work ok for setting up the columns and displaying them).
I populate the WebBusinessBindingSource's underlying BO in the PageLoad method of the page.
When I run the page, the BO seems to properly populate with about 140 records, but the grid displays just the first row and then repeats the first row for all the remaining rows that it displays.
I'm able to get all rows to display when using a SqlDataSource, so I am thinking this has something to do with the WebBusinessBindingSource.
It feels like I've got to be missing something simple here -- any suggestions as to why the single row repeats in the display?
And has anyone had any experience with using custom properties as sources for the grid columns? (Not sure why this doesn't work ....)
|