How to output NoRecordsTemplate when RadGrid is bound to ObjectDataSource and it cancels the data query in ObjectDataSource_Selecting event?
1 Answer, 1 is accepted
0
Veli
Telerik team
answered on 11 Jul 2008, 10:06 AM
Hello Michael,
You need to somehow return an empty data set or table, which means you still need to set up a data source with no items. This is certainly an issue connected to the data source control, where you would fetch a data collection with the required data fields but no items. The easiest way to do this using ObjectDataSource would be to use filtering with an unexisting value in a data field, where a table would be returned, but with no records.