System.Web.UI.Design.WebControls.BaseDataBoundControlDesigner.GetErrorDesignTimeHtml Method

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

Syntax

protected override string GetErrorDesignTimeHtml (Exception e)

Parameters

e
The Exception that was thrown.

Returns

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

Remarks

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

Requirements

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