How many types of controls in ASP.Net?

  1. User Control
  2. Custom Control
  3. Web parts

What are Web Parts?

  1. Web Parts are the controls that can be closed, minimized,edited and moved by the users.
  2. webpartmanager is the main component of web parts. It defines the modes through which we can control the operations of different web parts controls. They are used in blogs, news,stock exchange quotes etc.

To use Web Parts on a web page:

  • add a webpartmanager control on the top of the page.
  • Then add WebPartZone containers to the page.
  • Put the user interface controls to the WebPartZone containers.