DetailsViewDesigner::OnSchemaRefreshed Method ()

 

Called when the schema of the data source for the associated control changes.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

protected:
virtual void OnSchemaRefreshed() override

Unless the designer is in template editing mode or a field is being added or edited, the OnSchemaRefreshed method calls the InvokeTransactedChange method, which in turn calls the OnComponentChanged method to update the DetailsView control to reflect the data source change.

.NET Framework
Available since 2.0
Return to top
Show: