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

learn more… | top users | synonyms (3)

1
vote
1answer
746 views

Minimize WebPart is hidden SharePoint 2013

In SharePoint 2007/2010 you always had the little arrow on the right side of WebParts which could minimize WebParts or edit them. SharePoint 2013 does away with these and doesn't render the ...
1
vote
0answers
148 views

ViewState Timing Issues with SharePoint 2013 & ListView plus DataPager

Good morning! I'm porting an existing custom 2010 webpart containing a ListView and a DataPager to 2013 and seeing some weirdness with the DataPager and I believe the cause is associated with the ...
0
votes
1answer
996 views

Programatically adding webparts to a page in sandbox

I've successfully implemented code to add web parts to web part zones in code using WebPartManager's in other projects. Now that I'm working in a sandbox solution, VS can't seem to recognise ...
0
votes
2answers
3k views

How to get SPListItemCollection from a SPFolder?

I am making a SharePoint 2010 visual web part, and I want to recursively iterate through all files in a document library which has nested folders. I can get a SPListItemCollection for all items and ...
2
votes
1answer
325 views

How do I fetch the most popular search terms?

I'd like to display a usercontrol on the homepage of my SharePoint site. The control will display a list of the most popular searches performed in a given period, say the previous month. Does anyone ...
1
vote
1answer
232 views

How to use the reorder method for document library?

I have a document library of 179 documents, and I want to reorder them. I have this code to try swapping the first two documents bool u = sharepoint.library.Ordered; if (!u) { ...
2
votes
2answers
780 views

Can you add metadata to a folder in a document library?

I am making a visual webpart for SharePoint 2010 that displays files and folders from a document library, and I want to keep ordering to folders. I want to be able to sort folders so I need a way to ...
1
vote
3answers
222 views

Where to expose the data within a web part via a web service

List data can be exposed via a web service but how can web parts be also exposed via a web service ? I think this question is similar to ...
0
votes
1answer
81 views

SharePoint 2010 Publishing - are you able to modify web part?

I have a publishing site and I created a page, which allows publishing, but also allows me to add web parts. When I open this page in Designer it informs me that I can only edit the layout mode and ...
0
votes
1answer
92 views

How to utilize sharepoint 2010 pdf searching programatically?

I am making a SharePoint 2010 web part that basically manages a document library of PDF documents. One component that I am working on is searching through PDF documents. I tried a custom PDF dll ...
3
votes
2answers
1k views

Search Box disappears when I save Web Part Settings

I am checking the "display search box" option in my web part properties and clicking "ok" but the search box disappears. When I click "apply" it will show the search box, but it will disappear again ...
0
votes
1answer
49 views

wss 3.0 content database has expanded exponentially without any data added in it

I am hosting wss 3.0 web application in windows 2003 server with sql 2005 express edition. we are leveraging lots of out of the box functionality, but we also have some custom features and web parts. ...
0
votes
1answer
83 views

textbox visual control how to get text

i have a user control, which has update panel and a button in it, when i click on button a message box appears, in messagebox i have one text box and another button, when i click on another button, ...
1
vote
1answer
34 views

no getting user control property from webpart

I am using this MSDN tutorial but it is not working, http://msdn.microsoft.com/en-us/library/ff649867.aspx When I try to get a usercontrol value, nothing comes up try { // Loads a user control ...
3
votes
1answer
1k views

Using the razor engine in SharePoint 2013 Visual Web Part

I'm trying to make use of the razor engine in a SharePoint 2013 Web Part. This, I read, shouldn't be too difficult since SharePoint 2013 Visual Web Parts can be built using .NET Framework 4.0 I'm ...
0
votes
3answers
189 views

User control propertie get from webpart

I have a webpart that is loading a user control, but I am not able to get the value of a webpart property in the loaded user control. The web part code goes like this: public class CVWebPart: ...
1
vote
2answers
1k views

How to implement HTML5 Video in Sharepoint 2010?

Has anyone had any success in building a web-part with HTML5 video and using it in SP 2010? Background: Currently I am using JWPlayer by imbedding an HTML page using a content editor web-part. I ...
0
votes
2answers
90 views

Help embedding asp.net page in a Sharepoint Web Part

First off, I do not have access to designer, so I'm attempting this through my SharePoint site's on-page edit tools. I realize that this may not be possible, but I'll ask the question anyway. :) I ...
0
votes
2answers
1k views

How to display and get the value chosen in an User field?

I'm very new at Sharepoint and I faced to a trick issue. Here is the situation : in an .aspx.cs file, I've created an EventHandler called btnValidate_Click, raised on a click on a button. In this ...
0
votes
1answer
226 views

Filtering Web Part on Lookup Field with multiple values

I'm looking to be able to filter a web part to show multiples values, based on a field in another web part that contains multiple values. The scenario I'm testing is: In a school environment, the ...
0
votes
1answer
368 views

Add button is missing when I tried to Add a WebPart

I have "People search results (Page Layout)" page with Content Type = "Welcome Page". I need to drop another people search result web part on this page. I can see the all web parts but Add button ...
0
votes
1answer
717 views

using list's newform.aspx as a webpart

I want that the newform.aspx of the list would be in a webpart page, meaning that when I call the page there will be a webpart in it which will show just the newform.aspx inside it.... can this be ...
0
votes
2answers
101 views

How do I dynamically insert a web part onto a page using Sharepoint Designer 2010?

I have a requirement to create a DVWP which queries a list of items: 1.1, 1.2, 1.3 etc. I have a webpart that takes an input (i.e. "1.1") and does some cool stuff with it. What I would like to do is ...
0
votes
2answers
218 views

Running a Visual Basic Form on SharePoint 2010?

I am currently using SharePoint 2010 Foundation, I am also using Visual Basic 2010. I want to take a form I recently created in VB and display it in SharePoint for my users to access. I do not want ...
0
votes
1answer
903 views

Taxanomy WebTagging Control: Not able to Set The Value

We have taxanomy – TaxonomyWebTaggingControl placed on a admin control panel. We need to assign/set value(value is lookup value:keyword) to the control by using JavaScript. Code is already written, ...
1
vote
2answers
100 views

How to find where a web part has been placed

I have a task where I need to locate every page that has a particular web part on it. It looks like I may be able to get this info from the database itself but I'm not sure how thorough this may be. ...
1
vote
1answer
432 views

Quick way to change Custom New form web part into custom edit form

I just created a custom new form web part in C#. It works great and adds a new item to the list with the 'Save' button. Now, I am trying to reuse the same code to create the custom edit form. But I ...
0
votes
1answer
221 views

display Multi parents-childs dynamic Diagrams in sharepoint web access

We design KMS (Knowledge Management Systems) with SharePoint that everything is OK but we need to Display relations between entities,Documents and etc. in Web access. my question about solutions: ...
0
votes
1answer
1k views

Decompiling a .webpart file?

I know it is possible to decompile SharePoint web parts if you have their .dll or .wsp files (I have successfully done this myself using tools like DotPeek or this method), but what if you are left ...
2
votes
1answer
6k views

custom webpart is not displayed in gallery

I wrote a visual webpart in Visual Studio 2010 that works fine in the SharePoint instance on that machine when VS deploys it. It appears in the gallery and I can add the webpart to a page ...
0
votes
4answers
470 views

Multiple Webparts with same JavaScript on one Site (another Problem)

I rebuild the site (site before). I have on the site two or more Webparts. These CEWP are including the same JavaScript and this the JavaScript is displaying a table via: ...
0
votes
0answers
18 views

SharePoint 2013 - Sorry, apps are turned off. If you know who runs the server, tell them to enable apps [duplicate]

I am new to SharePoint 2013. I have developed an app using vs 2012. When I try to deploy the app, then I am getting the below error. Error : Sorry, apps are turned off. If you know who runs the ...
0
votes
2answers
4k views

SharePoint 2013 - Sorry, apps are turned off. If you know who runs the server, tell them to enable apps [duplicate]

I am new to SharePoint 2013. I have developed an app using vs 2012. When I try to deploy the app, then I am getting the below error. Error : Sorry, apps are turned off. If you know who runs the ...
3
votes
1answer
778 views

Comma is being appended to values when adding new item to list through C#

I have a custom web part form which takes a few values from text boxes and adds the new row to a list. The problem is that when I click 'save', the values are being saved but some fields like ...
3
votes
1answer
157 views

Filter Webpart to match any column

I have a list of products with hundreds of entries. Each product has contact details with it as well as company information etc. I would like to be able to run a search on this list and return ...
4
votes
2answers
4k views

Sharepoint 2013 - Can I use Visual Studio 2012 express edition for web-parts and app parts?

I am new to SharePoint 2013. I want to develop the app and web parts using visual studio 2012 express edition. Can I use vs 2012 express edition to create app and web parts for SharePoint 2013? Can ...
1
vote
1answer
2k views

Force Chart Web Part to show all labels

When using the Chart Web Part (horizontal bars) only every fifth bar-label gets displayed. The end user can't see what the other bars represent. Is there a way to display every label for one axis?
0
votes
2answers
619 views

How to access the webpart personalized properties from another webpart

I would like to access the information stored inside the toolpart in another webpart. They are defined as follow: [Personalizable(PersonalizationScope.Shared)] [WebBrowsable] [WebDisplayName("Test")] ...
1
vote
1answer
293 views

Sharepoint Foundation 2013 - Custom Homepage blocks with webparts

I'm basically working on an new website which is based on sharepoint foudation 2013. I've done the design and now i'm on development phase. After good time searching around in code i could not find a ...
1
vote
1answer
392 views

UpdatePanel - Dropdownlist in Webpart

I want to customize the SearchBoxEx-Control. So I made a Webpart which inherits from SearchBoxEx. In the CreateChildControls I put an updatepanel and two dropdownlists. Every time I select something ...
0
votes
1answer
35 views

Possible to restrict the removal of web parts based on permission groups?

As per title. I want to grant only certain permission groups/users the rights to removing a web part from a page. Is this possible?
1
vote
1answer
119 views

How to import the data from a Google Public Data Explorer into SharePoint 2010 out-of-box charts

using the new Google PDE I was wondering if there was a way of importing the data into my nicely formatted Chart Web Parts in sharepoint 2010.
1
vote
3answers
521 views

Which webpart to use to add, delete, update data from a database table.

I have a table in database I want to use a webpart to add, delete and udate data from database table I can create a custom webpart with a gridview but is there out of box webpart in 2007 sharepoint ...
1
vote
0answers
122 views

Import Error on ChartDataProvider Webpart

My Sharepoint project contains a visual Webpart which retrieves data and works fine. In addition to that, I want to display some Chart webparts which visualize this data. In order to do so, i added a ...
-1
votes
1answer
445 views

SharePoint 2013 - Errror “Cannot import hello web part sharepoint 2013”

I am new to SharePoint 2013. I am using SharePoint 2013 server and vs 2010. The SharePoint Server 2013 and VS2010 is present on different PC's. I have created a new "Hello" visual web-part in vs ...
0
votes
1answer
30 views

Does enabling Publising in a Team site allow features of both in the same site?

Assuming a team site in SP 2010 enables publishing, then are the features of both available? Such as content query web part and also the announcements web part? Does this then mean either a team site ...
2
votes
1answer
177 views

Programmatically removing web parts in a sandbox solution? (Sharepoint 2010)

I had a problem with web parts being duplicated whenever their feature was reactivated, so I made a question about that. It was answered (and correctly so, I think) - I have to programmatically ...
2
votes
1answer
371 views

Setting the value of a sandbox web part's custom properties in .webpart file

I've created a new web part in a sandbox solution. This web part has a custom string property called 'PetName'. I'd expect to be able to set the initial value of this property in the .webpart file. ...
0
votes
2answers
428 views

Multiple Webparts with the same Javascript

I have a site with multiple Webparts. Some Webparts are linking on the same .html file. The HTML file reads data from a list and displays it in a table by using javascript. My problem is that there ...
0
votes
1answer
293 views

WSPBuilder for vs 2012

I am new to SharePoint 2013. I am using trial version vs 2012. I want to use the WSPBuilder to develop the web parts. I have install the WSPBuilder and it is not showing in vs 2012. I have used the ...