Quantcast
Channel: LavaBlast Software Blog - SubSonic magic
Viewing all articles
Browse latest Browse all 41

Ryan on SubSonic magic

$
0
0
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 all articles
Browse latest Browse all 41

Trending Articles