K
KJ
Hello,
I have an ObjectDataSource (ODS) that is the datasource for a GridView.
I run the DataBind() method of the GridView, then, the Select() method
of the ODS is implicitly called. So far, so good. Then, I handle the
Selected event of the ODS. After I check the result count and the value
of an output parameter, I may want to cancel the binding based on the
results. I see that this can be done when handling the Selecting event,
but not the selected event.
Any ideas on how to achieve this?
-KJ
I have an ObjectDataSource (ODS) that is the datasource for a GridView.
I run the DataBind() method of the GridView, then, the Select() method
of the ODS is implicitly called. So far, so good. Then, I handle the
Selected event of the ODS. After I check the result count and the value
of an output parameter, I may want to cancel the binding based on the
results. I see that this can be done when handling the Selecting event,
but not the selected event.
Any ideas on how to achieve this?
-KJ