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:
virtual String^ GetErrorDesignTimeHtml (
	Exception^ e
) override
protected String GetErrorDesignTimeHtml (
	Exception e
)
protected override function GetErrorDesignTimeHtml (
	e : Exception
) : String
Not applicable.

Parameters

e

The Exception that was thrown.

Return Value

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: