Vault of Thoughts

2006-06-05

Please visit my new blog at vaultofthoughts.net

When is the Select method of the DataSource called?

Have you ever wondered when is the Select method of the ObjectDataSource called in the page life cycle? It probably depends on your particular page configuration, but on an ordinary page or user control, the select method gets called after the OnPreRender method and before the OnPreRenderComplete. Keep this in mind if you want to perform some custom logic after the whole control tree has been built.


My friend has checkd the SqlDataSource control by handling the Selecting event and the he found out that the same holds true for it also.

If you liked this article why not support its author by making a donation?

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home