GridViewDesigner.OnSchemaRefreshed Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 override void OnSchemaRefreshed()

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 GridView control to reflect the data source change.

.NET Framework
Available since 2.0
Return to top
Show: