Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BaseDataBoundControlDesigner.GetErrorDesignTimeHtml Method

Provides the markup that is used to render the control at design time when an error has occurred.

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

protected override string GetErrorDesignTimeHtml(
	Exception e
)

Parameters

e
Type: System.Exception

The Exception that was thrown.

Return Value

Type: System.String
The markup used to render the control at design time when an error has occurred.

The error design-time control renders as a placeholder that contains the type name, the control name, and a message describing the error.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft