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 propery library inclusion.

learn more… | top users | synonyms (3)

0
votes
2answers
395 views

Web Part Activation Error

I am developing a web part and suddenly receive this error when activating it from site settings. System.InvalidCastException: Unable to cast object of type ...
0
votes
2answers
476 views

How to temporarily hide a column in a list view

To put this in context, what I need to do to complete work on a custom action is to hide a particular column from users who aren't members of a given group. Given that the custom action is implemented ...
0
votes
1answer
3k views

How to use 'Sites in Category' & 'Categories' Webparts in SharePoint 2010

Does anyone have some documentation on how to use 'Sites in Category' & 'Categories' Webparts Thanks -saumil
0
votes
1answer
263 views

How to determine what pages are using a particular web part? [duplicate]

Possible Duplicate: How do I find in which (sub)sites a WebPart/Feature is used? After an upgrade to SharePoint 2010, we've had a few web parts with issues. We're a pretty wide ranging ...
0
votes
1answer
870 views

How to add web part (lvwp) programatically in SP2010?

How do I add web part on publishing pages. The publishing pages are in Pages list. I like to add the built in contact web part. Also like to add few web part and backend of these web part are list ...
0
votes
1answer
73 views

Where to store cryptograhic key for external service

I have a SharePoint 2010 web part that communicates with an external service. The external service provider gave us a secret cryptographic key that we must use to sign our requests. Currently, the key ...
0
votes
3answers
102 views

Putting a SPPersistedObject on a user

I would like to persist some information entered via my web part so the next time the same user uses it, the settings will be pre-populated. In the Windows world, I would just slap the data is ...
0
votes
3answers
3k views

How do I run some JavaScript in a web part?

I found some JavaScript code on the web that I want to add to my custom web part so that I can modify a PageViewerWebPart's height to 100%. I just need to know what steps to take to call it. I added ...
0
votes
3answers
944 views

Linkbutton OnClick event incorrectly firing on page load

My click events are firing on linkbuttons on page load, before the link has been clicked, any ideas? (This is in a Visual web-part hosted in SP2010) This is my code: <asp:LinkButton ...
0
votes
2answers
358 views

Can you run a 32bit compiled webpart in 64bit SharePoint?

I have a webpart which needs to use a native 32bit DLL for data access (the dll is Advantage.Data.Provider, for the Advantage Database Server DBMS.) As such I'm pretty sure I need to compile it as ...
0
votes
2answers
3k views

Unknown server tag 'asp:ListView' error with Sharepoint 2010 / .Net 3.5

I'm developing a visual web part in Visual Studio 2010 for sharepoint and i have a listview control embedded. I keep getting this error message in runtime even though I made sure it's namespaces are ...
0
votes
1answer
105 views

What is the tag for web part description?

I would like to edit the font of the description in my RSS Viewer Web Part. What is the css tag for the description? I tried .description, which was provided from ...
0
votes
2answers
545 views

How do I convert a web part created in Visual Studio 2008 to Visual Studio 2010?

How to convert a web part project created in VS 2008 to VS 2010?
0
votes
1answer
163 views

Group Alert feature required for WSS 3.0

In current web-part (http://advancedalert.codeplex.com/) there is no facility to remove the group alert or who is subscribed to the lisy. Also new members added to the group do not automatically get ...
0
votes
3answers
2k views

Check whether user is administrator in a Sharepoint page using JavaScript or jQuery?

I am developing a webpart for SharePoint in Visual Studio 2005. I am making use of a user control in this project. Now, I have to obtain the currently logged in user using JavaScript and check whether ...
0
votes
2answers
450 views

How do you resize the title of a webpart on a webpart page in SPF2010

Sharepoint Foundation 2010, I want to make the title of the webpart larger than the text inside the list so that it stands out. How can I do this? Thanks.
0
votes
2answers
3k views

How to show list data in vertical list

I want to show the contents of three specific columns from one specific list item. Like Meeting list item ID 5 contains Name MeetingDate Bitfield1 Bitfield2 John Doe ...
0
votes
1answer
443 views

Audience targeting only works when browsing from the SharePoint server, using internal address

I have a web part which I am trying to target to a specific audience (the 'Staff' audience.) I have the web part in the home page of a site that has anonymous access enabled. I have set the Target ...
0
votes
2answers
359 views

How to create a web part to track page creation time

I am new to SharePoint Server 2007 Web Part, and I am using SharePoint Server 2007 on Windows Server 2008. I program using VSTS 2008 + C# + .Net 3.5. I want to create a simple web part which could ...
0
votes
1answer
18 views

writing a search query for search result web part

Is it possible to write a search query that will find sites/subsite that the current user has been shared?
0
votes
1answer
27 views

how can i display the latest items from another site collection

I have a web application, with three site collections . and i want inside my team site to be able to display the latest pages that have been added to my enterprise wiki site collection. so what are ...
0
votes
1answer
21 views

Problem inserting web part - is not registered as safe

A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe. I've looked at my web.config and I can see the entry ...
0
votes
1answer
22 views

c# add existing webparts on site into sandbox webpart solution

I want to create a webpart using sandbox webpart solution on C# which contents two or more webparts (such as a list, task, document,...) existed on my Sharepoint site. So my new webpart will have some ...
0
votes
1answer
16 views

pass two variables with connected web parts

Sharepoint 2010 - Can you pass two variables between web part connections? I have 4 web parts that I need to select the list items to display in each individual web part when either of the 2 ...
0
votes
1answer
19 views

Does site collection backup , also backup any custom web parts

I have created a custom web part inside my visual studio 2012, and i publish it to a site collection. now i have backup the site collection to move it to another server. but my question is, if I ...
0
votes
2answers
17 views

Customize a webpart directly added to pagelayout

I have a page layout with embedded web parts. These web parts are not added in any web part zones. I want to edit properties of the web-part but when I edit the page I cannot see any way of doing it. ...
0
votes
1answer
66 views

Refreshing a Web Part Without a Post back in SharePoint 2013

I have a list with many columns in SharePoint 2013, I used SharePoint designer 2013 for displaying items , I have tow web parts in a page that I created in SharePoint designer 2013, one web part ...
0
votes
1answer
18 views

Source editor is removing “onclick” from within my divs

I have some HTML within a content web part. For some reason when I add in the following code to my divs it removes it when I click ok and try to save it. ...
0
votes
1answer
37 views

How to validate parent list data while creating new child item

I am having a parent list and child list. Parent list (Contract) is having an Contract Num, Contract Amount, Start Date and End Date columns. Child list (Project) is having and Project Name, Parent ...
0
votes
1answer
78 views

how to hide Content Editor webpart title

I have a Custom Page Layout and I have placed a Content Editor Webpart to display some introductory text. I want to hide the title as there was this chrome type property in webpart which appears blank ...
0
votes
1answer
25 views

How to add a relative url link to a page from a Link button on a web part SharePoint 2010

It may be a silly question but still I would like to know. I have page under site pages, a web part on that page, and a link button on the web part. I want to navigate to another page under site pages ...
0
votes
1answer
49 views

How to include JavaScript and CSS in SharePoint 2010

Hi I am creating some web parts in SharePoint 2010 non sandboxed solution. I want to include some JavaScript files and CSS on each page of my site. But I don't want to include my files on each web ...
0
votes
1answer
48 views

My gridview does not display.

I am creating a web part on SharePoint that shows site owners and their email addresses. I am able to show that information in a listbox, but I would rather do it in a gridview. When I change my code ...
0
votes
2answers
53 views

How do you show a list of site owners for a SharePoint site?

I am trying to create a web part that will list the site owners of a SharePoint site. I'm not sure where to start. I've been unable to figure out how to access the permissions property of a site. Any ...
0
votes
1answer
31 views

Disable web part only when browsing SharePoint 2010 site in Chrome

Is it possible to hide a web-part only when user browse the site within Chrome? I checked "Chrome State" - minimized, "Chrome Type" - none, the first sets web-part minimized both in IE and Chrome, ...
0
votes
2answers
94 views

How to display data from Excel file in a Webpart

I want to create a website on sharepoint 2010 which displays data from an Excel file in a Web part. Unfortunately, Excel Services is not available. Therefore, Excel REST cannot be used and due to ...
0
votes
1answer
25 views

Web part or view that displays all 'Pending' documents within a SPSite

How would I create a web part or view that displays all 'Pending' documents within a SPSite. Ideally it would also allow users with the correct permissions to also approve them from here too but to ...
0
votes
1answer
87 views

Query String opening page

I have web part with link buttons. How do I open a new page when I click on a link button and also use a query string for sending my variable id?
0
votes
1answer
21 views

Leveling web parts on a page on two different columns

I have been fighting with this for about 3 hours now and I can't find any reason for it online. The issue I am having is I am putting the same two web parts side by side using the two column layout ...
0
votes
2answers
25 views

Sending id between web parts

I have 2 web parts. One is a web parts with link buttons that represent the title of videos. The second is a html5 video player. I need to send the id of a video from web part 1 to web part 2
0
votes
1answer
44 views

Unable to system.string to system. guid - CSOM

I have a picture slideshow webpart which displays images from a particular library with a particular view. I want to change the webpart property - view using jquery. I have used CSOM to get the ...
0
votes
2answers
105 views

Url error on lookupfields causes webpart to fail

I’ve setup up two lists. A main list(list A) and a secondary list(list B). These two lists are related through lookupfields, where list B looks up items in list A. On the DispForm.aspx for list A, ...
0
votes
1answer
19 views

Webpart, bad TitleIconImageUrl url

My website url is: mysupersite.com/sites/thesite I want to put an image with TitleIconImageUrl in the webpart. I have: <property name="TitleIconImageUrl" ...
0
votes
1answer
31 views

Webpart disappears after migrating site collection from sSP010 to SP2013

I need to migrate several site collections from SP2010 to SP2013. After I migrated the sites to SP2013 farm and create a evaluation copy, the site customized layout are all lost. (It is expected since ...
0
votes
1answer
100 views

Show OneDrive for business on a custom page

Users can access their OneDrive library by clicking the link next to 'Newsfeed' in the Suitebar. However, I would like to show this library in my main site collection. Is there a web part for this or ...
0
votes
2answers
17 views

How can I correct a site that can no longer be edited via the browser?

The problem: I have been trying a few things out in SharePoint 2010 Enterprise and have managed to break one of the sites. A page now contains a custom web part that references a list on a sub page, ...
0
votes
2answers
92 views

Custom webpart to display HTML form which supports adding additional dataRow on the fly?

Would like to build a WebPart which will display an HTML form(allow the users to add the data rows as many as required) and will insert the data into the SharePoint list on the submit (based on ...
0
votes
1answer
36 views

How to implement editor zone at a custom webpart in visual studio 2012 with vb.net

I have webparts which display the content. Using Webpart Editor zone I need to select display style whether it is Grid or List or Rolling (from Dropdownlist). How can i add custom property in Webpart ...
0
votes
1answer
938 views

Folders in document libraries: how to navigate back up to parent folder (web part on page)?

I have a document library web part on a page and it contains a folder. When a user clicks on the folder it opens and shows the documents inside, but there is no way to go back to the parent folder ...
0
votes
1answer
159 views

How to display list of recent changes on Team site?

How can I display a list of recent changes on a project or team site in SharePoint 2013? This should ideally aggregate all apps like documents, news, wiki pages, calendar, discussions, issues, etc. ...