Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 3723

Web parts are ASP.NET controls that can be added to web part zones. They are generally distributed through the deployment of .WSP files. Pre-2013, they could be developed off the hosting server. With 2013, Web Parts for the most part have to be developed on the hosting server for proper library inclusion.

0 votes
Accepted

Best way to add a library web part to an page layout

I reach this first concept solution, probably not the best one but its enough for now. public static void AddListViewWebPart(SPWeb oWeb, SPFile oFile, SPList oSPList, string webPartTitle, string webP …
fallout's user avatar
  • 1,025
0 votes

How to access themed images

working with this code: SPUtility.GetThemedImageUrl(SPUrlUtility.CombineUrl(SPUtility.ContextImagesRoot, "spcommon.png"), "spcommon");
fallout's user avatar
  • 1,025
0 votes
3 answers
1k views

Best way to add a library web part to an page layout

I'm creating SPWebs based on WebTemplates, which each one have is own, for the welcome page, have modules for the pagelayout and default.aspx page. At this point I'm using a PublishingLayoutPage and …
fallout's user avatar
  • 1,025
0 votes

"Add document" link missing from ListViewWebPart

not fancy (at all!!) workaround solution right after the listviewwebpart zone: //workaround to show 'new document' link var contentEditor = new ContentEditorWebPart(); string content = String.Form …
fallout's user avatar
  • 1,025
3 votes
1 answer
2k views

how to customize OOB web parts UI

SharePoint 2013 brings a new concept of UI customization, via the JSLink, allowing to reconfigure the Web Parts UI aspect/behaviors, as exemplified by O'Brien here. Although, most of SPObjects doesn' …
fallout's user avatar
  • 1,025
0 votes

Exporting and Customizing the Table Of Contents Webpart

Another approach with javascript (multilingual): 1st: Insert a TOC example div on the page content (via Content Editor WP) <!-- Table of Contents --> <div id="wiki-index"> <div id="ToC" …
fallout's user avatar
  • 1,025
2 votes
2 answers
2k views

"Add document" link missing from ListViewWebPart

I'm adding an ListViewWebPart programmatically to my custom page, so far so good, the problem is that the link "Add document" is missing(Summary Toolbar), and the simple behavior of open the edit web …
fallout's user avatar
  • 1,025
0 votes
1 answer
341 views

Blog Site RSS Web Part not shown

In Sharepoint 2013 a Blog Site RSS Web Part is not showed until the SC Admin account(s) navigates to the landing page for the first time. Any idea why this way? Or if it's possible to force it. Reg …
fallout's user avatar
  • 1,025
0 votes
Accepted

Blog Site RSS Web Part not shown

Before site admin access the landing page, the Blog Notifications Web Part (RSS WP) has not ListId associated, but after access is automatically set and within the RSS WebPart shows the corresponding …
fallout's user avatar
  • 1,025