-2


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

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

1 Answer 1

3

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 you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.