Quantcast
Viewing latest article 25
Browse Latest Browse All 41

Ryan on SubSonic magic

Interestingly, I just tried reproducing the demo I did earlier, but now I get "The data source 'ObjectDataSource1' does not support sorting with IEnumerable data. Automatic sorting is only supported with DataView, DataTable, and DataSet."

My table controller is inheriting the SubSonicController in this example:
public partial class AnnouncementController : SubSonicController<Announcement, AnnouncementCollection>

My FetchAll on the ObjectDataSource seems to be pulling from the SubSonicController because it has the (sort, startRowIndex, maximumRows) parameters....

(Scratching head)

Viewing latest article 25
Browse Latest Browse All 41

Trending Articles