We can provide the WebParts controls functionality to a server control by setting the CreateWebPart property of WebPartManger.