WebFormsRootDesigner.GenerateEmptyDesignTimeHtml Method (Control)

 
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.

Generates empty HTML markup for a control at design time.

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

public virtual string GenerateEmptyDesignTimeHtml(
	Control control
)

Parameters

control
Type: System.Web.UI.Control

The control to generate HTML markup for.

Return Value

Type: System.String

HTML markup for an empty control.

The GenerateEmptyDesignTimeHtml method enables a consistent display of empty controls at design time.

.NET Framework
Available since 2.0
Return to top
Show: