Creating SharePoint 2010 Visual WebParts - Part 1 - Farm Solutions

Written By: Hesham Saad -- 5/25/2011 -- join -- contribute -- (3344) comments -- printer friendly version

Rating: Rate --

Categories: Configurations, Programming and Customizations, SharePoint 2010, SharePoint Foundation 2010, Visual Studio, Web Parts

< Prev - 1 | 2 | 3 | 4 | 5 | - Next > | Become a paid author


SharePoint designers find it difficult when they try to tweak a SharePoint webpart because everything must be rendered at "code behind", which requires some .NET development skills. How can we make this easier?  


Building web parts is one of the most common tasks that are performed by SharePoint developers. SharePoint 2010 & Visual Studio .Net 2010 enable us to create web parts quickly and easily so we can use project templates and project item templates to help us get started building ASP .Net "Normal & Standard" Web Parts. Also we can build a new type of web part called a "Visual Web Part". When using the Visual Web Part SPI "SharePoint Project Item", Visual Studio .Net 2010 will create a number of files... ".cs, .webpart, elements.xml & .ascx designer files" ...which actually create an ASP.Net user control. There are three primary advantages to user controls when dealing with SharePoint:

  • Familiarity.
  • Reusability.
  • Development Speed.

We can check here these points in detail. Lets see how we can create a Visual Web Part by following the steps below:

< Prev - 1 | 2 | 3 | 4 | 5 | - Next >

Learn more about SharePoint

Sponsor Information

Copyright (c) 2010-2017 Edgewood Solutions, LLC All rights reserved
privacy | disclaimer | copyright | advertise | contribute | feedback | about
Some names and products listed are the registered trademarks of their respective owners. |