LoginViewDesigner.GetEditableDesignerRegionContent Method (EditableDesignerRegion)


Returns a serialized copy of the current template that is used to render the associated control at design time.

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

public override string GetEditableDesignerRegionContent(
	EditableDesignerRegion region


Type: System.Web.UI.Design.EditableDesignerRegion

The EditableDesignerRegion for which to obtain content.

Return Value

Type: System.String

A string containing a serialized copy of the template used to render the associated LoginView at design time.

If a template implementing the ITemplate interface can be obtained from the region parameter, the GetEditableDesignerRegionContent method returns the persisted template. Otherwise, it calls the GetEditableDesignerRegionContent base method to generate the content.

The serialized template can be restored to the LoginView control by using the SetEditableDesignerRegionContent method.

.NET Framework
Available since 2.0
Return to top