RoleGroup::ContentTemplate Property

 

Gets or sets the content template associated with this role group.

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

public:
[BrowsableAttribute(false)]
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
[TemplateContainerAttribute((LoginView^::typeid))]
property ITemplate^ ContentTemplate {
	ITemplate^ get();
	void set(ITemplate^ value);
}

Property Value

Type: System.Web.UI::ITemplate^

The ITemplate associated with this role group. The default value is null.

The ContentTemplate property contains the content that is displayed to users who are members of this role group.

The following code example dynamically creates a content template.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: