GenericWebPart.CreateEditorParts Method ()
Assembly: System.Web (in System.Web.dll)
The WebPart class because, in the case of a GenericWebPart control, it is the child control that is being edited, not the GenericWebPart control itself. The method casts the child control to the IWebEditable interface, which enables the control to be edited.method is called when a control enters edit display mode. This method overrides the base method inherited from the
This overridden method is what enables server controls that do not derive from the WebPart class--including ASP.NET server controls, and custom server controls--to be edited as normal WebPart controls.
Available since 2.0