I have an EntityDataSource with the OnSelected event (fired after a finished request). The event handler has args events of type EntityDataSourceSelectedEventArgs e . Query works fine without errors, and IEnumerable e.Results contains 1 object (I can run a non-empty foreach loop), but e.TotalRowCount returns -1 .
Does anyone have an idea what this means and what information TotalRowCount really expresses? How to determine the number of selected objects, if not using TotalRowCount ?
source share