Gets or sets the access key that allows you to quickly navigate to the Web server control.
Assembly: System.Web (in System.Web.dll)
Use theproperty to specify the keyboard shortcut for the Web server control. This allows you to navigate quickly to the control by pressing the ALT key and the key for the specified character on the keyboard. For example, setting the access key of a control to the string "D" indicates that the user can navigate to the control by pressing ALT+D.
Only a single character string is allowed for the Empty, nor a single character string, an exception is thrown.property. If you attempt to set this property to a value that is neither null,
This property is supported only in Internet Explorer 4.0 and later.
The following example illustrates how to set and use the TextBox control.property of a
This example has a text box that accepts user input, which is a potential security threat. By default, ASP.NET Web pages validate that user input does not include script or HTML elements. For more information, see Script Exploits Overview.
Available since 1.1