Hi there,
I've got a GridView being bound to an esDataSource on a page. what I would like to happen is the data source to retrieve data from teh database only when certain conditions are met elsewhere on the page. Now if I was using a SqlDataSource, I would handle its Selecting event, check the conditions and then call Cancel() if they weren't met.
I was expecting to be able to do the same using the esDataSource's esPreSelect event, but there's no sign of a cancel method anywhere, nor in the esSelect event. can you tell me if it is possible please or if I'll have to strip out the esDataSource and select the data and bind the field in the code-behind instead.
Thanks, Dan