WebPartChrome.GetWebPartChromeClientID Method
.NET Framework 3.0
Gets the client ID for the WebPartChrome object as rendered in a Web page.
Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The GetWebPartChromeClientID method gets the client ID of the table that contains the webPart being rendered. The table is the rendered output that corresponds directly to the WebPartChrome object, and is used as a container to apply styles and create a modular layout for the control.
It is useful to get the client ID of the WebPartChrome object for client-side scripting purposes, if you want to change something in the chrome without having to post the page back to the server.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: