ProxyWebPart Constructor (String, String, String, String)
Assembly: System.Web (in system.web.dll)
protected:
ProxyWebPart (
String^ originalID,
String^ originalTypeName,
String^ originalPath,
String^ genericWebPartID
)
protected ProxyWebPart ( String originalID, String originalTypeName, String originalPath, String genericWebPartID )
protected function ProxyWebPart ( originalID : String, originalTypeName : String, originalPath : String, genericWebPartID : String )
Parameters
- originalID
A string that is the control ID (not the unique ID) of the control to replace. If a GenericWebPart control is replaced, the ID is the ID of its child server control.
- originalTypeName
A string that is the name of the Type of the control to replace. If a GenericWebPart control is replaced, the type name is the type of its child server control.
- originalPath
A string that contains the path to the user control to replace.
- genericWebPartID
A string that returns the ID of a GenericWebPart control, if that type of control is being replaced. This is needed for controls that do not inherit from the WebPart base class.
This constructor is used to create a proxy Web Parts control to replace a dynamic Web Parts control. To replace a static Web Parts control, use the ProxyWebPart(WebPart) constructor to create a proxy Web Parts control.
Windows 98, Windows 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.