Provides the means to modify the behavior of the Menu control for specific browsers.
Assembly: System.Web (in System.Web.dll)
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] public class MenuAdapter : WebControlAdapter, IPostBackEventHandler
A modifies the markup or behavior of a Menu control for a specific browser or class of browsers, or acts as a filter on some capability.
By default, the MenuItem objects in the Menu control are rendered as hyperlinks to accommodate menu navigation. The Menu class maintains state by implementing the IPostBackEventHandler interface so that it can respond to and raise specific events during postback. You can extend the class to further customize rendering or behavior of the Menu control.
The initial request for an adapter causes the .NET Framework to search for a mapped adapter for the control, given the characteristics of the requesting browser. The HttpBrowserCapabilities class uses browser definition files to identify the characteristics of the client browser and to map the adapter to the browser type.
For more information about adaptive rendering in ASP.NET, see Architectural Overview of Adaptive Control Behavior.
for verifying at compilation time that the immediate caller has permission to call into the class. Associated enumeration: Minimal
for verifying that any class derived from the class has at least the Minimal trust level. Associated enumeration: Minimal
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.