Tags » Web Part

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


The lighter side of Microsoft #20: Editing SharePoint Survey forms and rerouting Finish Buttons

In today’s post we’ll be looking at editing the survey form (page) as well as adding a Thank You page which reroutes the user to another page after submitting / closing the survey. 333 more words


Change the look of the What's Happening web part in the Community site

The default look of the What’s Happening web part on the Community site takes up quite a bit of space, with a fixed width and large text: 66 more words


Editing the Color of a Task Bar on the Task Timeline

The task timeline is a new feature in SP2013 and is automatically displayed on the page when creating a new task list. Once a task is created it can be added to the timeline. 154 more words


Adding Calender View Web Part

Default .aspx

<WebPartPages:WebPartZone runat=”server” FrameType=”None” ID=”CalendarWebPart” />


<File Path=”Pages\Default.aspx” Url=”Pages/Default.aspx” ReplaceContent=”TRUE”>
<View Type=”CALENDAR” List=”Lists/Calendar” BaseViewID=”3″ DisplayName=”Pending Registrations” Name=”Pending Registrations” RecurrenceRowset=”TRUE” WebPartZoneID=”CalendarWebPart” WebPartOrder=”1″>
</View> 155 more words

SharePoint 2013

Blank .ascx.g.cs file and 'the resource object with key was not found'

When you save a webpart (.ascx) in Visual Studio 2012 it should generate an .ascx.g.cs file. You can force the generation by right-clicking the .ascx file and ‘Run custom tool’, given that the ‘Custom Tool’ property of the .ascx file is set to ‘SharePointWebPartCodeGenerator’. 148 more words