1.3 KiB
1.3 KiB
Page.LoadComplete event no longer causes System.Web.UI.WebControls.EntityDataSource control to invoke data binding
Scope
Edge
Version Introduced
4.5
Source Analyzer Status
Available
Change Description
The Page.LoadComplete
event no longer causes the System.Web.UI.WebControls.EntityDataSource control to invoke data binding for changes to create/update/delete parameters.
This change eliminates an extraneous trip to the database, prevents the values of controls from being reset, and produces behavior that is consistent with other data controls, such as SqlDataSource and ObjectDataSource.
This change produces different behavior in the unlikely event that applications rely on invoking data binding in the Page.LoadComplete
event.
- Quirked
- Build-time break
Recommended Action
If there is a need for databinding, manually invoke databind in an event that is earlier in the post-back.
Affected APIs
- Investigate applicable APIs
Category
ASP.NET