NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HtmlControl.Disabled

Gets or sets a value indicating whether the Disabled attribute is included when a server control is rendered.

[Visual Basic]
Public Property Disabled As Boolean
[C#]
public bool Disabled {get; set;}
[C++]
public: __property bool get_Disabled();
public: __property void set_Disabled(bool);
[JScript]
public function get Disabled() : Boolean;
public function set Disabled(Boolean);

Property Value

true to include the Disabled attribute; otherwise false.

Remarks

On the browser, a disabled element or control is read-only, with the added restrictions that its value is not submitted with the form, the element or control cannot receive focus, and the element or control is skipped when navigating the document by tabbing.

See Also

HtmlControl Class | HtmlControl Members | System.Web.UI.HtmlControls Namespace