Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Panel.SupportsDisabledAttribute Property

.NET Framework (current version)
 
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.

Gets a value that indicates whether the control should set the disabled attribute of the rendered HTML element to "disabled" when the control's IsEnabled property is false.

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

public override bool SupportsDisabledAttribute { get; }

Property Value

Type: System.Boolean

true if the Control.RenderingCompatibility property indicates an ASP.NET version lower than 4.0; otherwise, false.

This property indicates how ASP.NET should render HTML for a control when the control is disabled. If this property is true, ASP.NET renders a disabled attribute when a control is disabled. If this property is false, ASP.NET renders a class attribute when a control is disabled. For more information, see WebControl.SupportsDisabledAttribute.

.NET Framework
Available since 4.0
Return to top
Show: