While debugging a page I found it strange that page_load and objectdatasource_selecting is fired off twice.
Here's the layout:
A gridview is linked to a formview by the gridview's selectedvalue.
When the gridview is selected this sequence is raised: page_load, ds_selecting, page_load, ds_selecting.
Everything seems fine from the client, but this double raising seems weird. Both the gridview and formview are located in a updatepanel.
On page_load there's the following:
If Not Page.IsPostBack Then
View Complete Post