I need to create a sharepoint 2013 web part and i don't know what kind of web part i must use.

Why i have to use Visual Web Part insteade of Web Part or Web Part insteade of Visual Web Part.

Thank You Guys

  • Kindly add some scenarios or some detailing about the information you are looking for... Feb 10, 2017 at 14:22

1 Answer 1


It's recommended to use Visual Web Parts over traditional web part for the following reasons:

  • No need to code everything from scratch, Simply drag and drop items from the Toolbox onto your custom controls to create a Web Part UI.
  • You also get the code-behind file where you implement the UI logic.
  • Technically, the SharePoint Visual Web Part is a web user control that is hosted inside a standard Web Part.

Check also a good comparison between web part and visual web part to can decide which one should to use at

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.