Tags » Web Part

Convert A Links List To A DropDownList By A Web Part In SharePoint 2013 (C#)

So I have been enjoying the benefit of Mike Smith’s article for a while now (http://techtrainingnotes.blogspot.com/2010/12/sharepoint-convert-links-list-to.html). A client I did a project for was wanting to carry this functionality forward to 2013. 304 more words


Life-Cycle of a Web Part

Below is the life cycle of the web part:

  1. OnInit: This method handles initialization of the controls on the web part.
  2. OnLoad: This event handles the Load event.
  3. 176 more words

How to identify SharePoint Web Part types

I came across this handy way to figure out which Web Parts are loaded in your SharePoint environment so thought I’d share it. 96 more words


SharePoint 2013 - The specified view is invalid in call to LimitedWebPartManager.AddWebPart

My problem

Today I tried to add a web part to a page using the following code:

ListViewWebPart webpart = new ListViewWebPart();
webpart.Title = "Matter Emails";
113 more words