This documentation is archived and is not being maintained.
ProxyWebPartManager::Focus Method
Visual Studio 2010
Overrides the base method to prevent the method from being called.
Assembly: System.Web (in System.Web.dll)
| Exception | Condition |
|---|---|
| NotSupportedException | A caller tries to call this method. |
The Focus method overrides the base method and throws an exception if any caller attempts to call the method. This is because the inherited Control::Focus method is designed for controls with a user interface (UI), but the ProxyWebPartManager control has no UI and therefore has no need to set the focus.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: