Today I ran into an issue with a grid that is linked to a LinqDataSource via DataSourceId and no ViewState.
Initially, everything works fine but after a postback (paging, sorting, filtering), the Selecting event of the LinqDataSource is fired twice, once before page_load and once after. The problem is that this will cause an expensive query to run twice.
Anybody experienced this problem? With ViewState enabled, everything works fine.
Thanks, Martijn