Web parts are ASP.NET controls that can be added to web part zones.
2
votes
1answer
2k views
Provision XSLTListViewWebPart with <AllUsersWebPart> or <View> and customize the XslLink
I've created some custom List Definitions (aka List Templates) and am provisioning List Instances of them into my site. I am then provisioning Pages (Wiki/WebPartPages) that refer to the lists/views ...
2
votes
1answer
1k views
ListViewWebPart
I'm using listviewwebpart to display contents of SPFolder (subfolder inside a list) to display its contents.
Beolw is the code to implement this:
protected override void CreateChildControls()
{
...
2
votes
1answer
382 views
Multiple Media Web parts for Videos in a list?
I want to create a video library for users to upload videos. These should be displayed with a Media Web Part.
I would like to be able to have on web part for each video so it becomes a list like so:
...
1
vote
1answer
31 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
23 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)
{
...
1
vote
1answer
36 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 ...
1
vote
1answer
51 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 ...
1
vote
1answer
55 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 ...
1
vote
1answer
26 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
1answer
40 views
SharePoint 2013 - “Package failed” error while creating the web parts in vs 2010
I am using SharePoint 2013 server and vs 2010. My SharePoint server present in different server and vs 2010 is another PC. I have created test web part using vs 2010 and build successfully. When I ...
1
vote
1answer
33 views
Should views be created using “Edit the Current View” in the web part menu?
I've heard (and previous experience supports) that using "Edit the current view" is a bad idea, because the "view" created using this method can be orphaned if the list/library the view is based off ...
1
vote
1answer
69 views
Error Rendering Control: Object reference not set to an instance of an object
I am exploring on trying to create a custom webpart and I am encountering this error:
In my source, I have a table in which a cell will contain SharePoint:DateTimeControl.
However it will
...
1
vote
1answer
43 views
Show link only if folder contains a document
I have created a custom web part that displays information from a list of applications. I have created a sepearte document library that contains a folder for each application. I created a 'View ...
1
vote
1answer
185 views
“Group by” with XSLT in Search Core Results web part
I have a bit of difficulty making it possible to group by the results in search core results webpart.
I have a default xslt of that webpart and from there i would like to group the results by the ...
1
vote
1answer
54 views
Custom Web Part's Active Directory connection only working from server
I have a custom web part that utilizes a dropdown combobox with items populated from AD. While it used to work, now I am unable to see anything populated in the dropdown unless I view the web part ...
1
vote
1answer
247 views
Use one filter for multiple sharepoint lists
Can I define one list filter, and connect it to two lists on one web part page? I have two seperate lists on a page, both containing the 'author' column. Now, I want to add a filter to de page, so you ...
1
vote
1answer
49 views
webpart not shown correctly on wikipage
I've created a simple webpart to show the weather forecast and I need to put it into a wiki page. The thing is: it works perfectly on a webpart page, but inside a wiki it is shown like it doesn't have ...
1
vote
1answer
65 views
Change default chrome to TitleAndBorder on standard sharepoint web parts
Is there a way to change default chrome on standard web parts in sharepoint to "title and boarders" ?
I know how to change the chrome in a standard web part, but how can I set it as default when ...
1
vote
1answer
55 views
Unauthorized error when adding form to a form library
I have a webpart that extracts a form from an infopath template then it attempts to add this to a form library in SharePoint. I get an unauthorized error 401 when it attempts to add the file. It ...
1
vote
1answer
226 views
Sharepoint Web Part - Send row of data to another web part to set default value in an inline edited field
Introduction
We have one sharepoint 2010 site which houses two Lists, for this example lets say Countries and Cities. In the Cities list we have a lookup for the ID of the Country and also the Title ...
1
vote
1answer
118 views
Custom webpart Personalization properties not saving in Sharepoint 2007
I've inherited a VB.NET / MOSS 2007 Sharepoint application and have been tasked with adding a new custom Webpart.
I've declared a number of public properties to store configuration data for the ...
1
vote
1answer
53 views
Embedding images files in sandboxed webpart
Fairly new to SharePoint development but have been asked to into developing some simple web part features for a solution we're working on.
I need to add some basic image/logo files into the .wsp for ...
1
vote
1answer
378 views
How to Display Beeper/Alert/Popup window like Facebook in my SharePoint site?
I am using SharePoint Foundation.
I have created 1 Custom List. And entry added directly into that List using my EventReceiver. And EventReceiver is created on my Document Library, which is called ...
1
vote
1answer
66 views
Create a link to a library from within a page
is it possible to create a link on a page to a library within the same page. So for example, I have a small list of 8 categories on my page, when i click on the first category "Governance" I would ...
1
vote
1answer
56 views
Sharepoint Web Parts - Add new setting to ALL
I'm working on a Sharepoint 2010 project where I'm required to offer functionality for the end user to change the styles of web parts on an individual basis.
How would I go about adding a new ...
1
vote
1answer
128 views
“Find Similar results” Fast search for sharepoint 2010
I trying to implement "find similar results" in fast search for sharepoint 2010.
Im using the docvector manage property and similarTo property(KeywordQuery property) for this.
I hv to pass the ...
1
vote
1answer
36 views
Convert Page to PersonalWebPartPage
I've a strange question for you. I have to fix bugs in the another's code (webpart for sharepoint 2010). So in the code there is a line with the code below:
var s = ...
1
vote
1answer
221 views
How to have a mini calendar webpart instead of the default calendar views
I ould like to have a mini calendar webpart that gets that from the calendar list.
Something like this sample calendar view
Thanks
1
vote
1answer
253 views
media webpart not working on ipad
We have lot of videos that are hosted in our environment and we have used the OOTB media web part to show the video on page ,but the videos are not playing in Ipad .Is there any extra codec does we ...
1
vote
1answer
1k views
Partial postback sharepoint webpart
I am trying to add update panel to my sharepoint sitepage below:
I am getting the error :
Failed to load viewstate. The control tree into which viewstate is
being loaded must match the control ...
1
vote
1answer
494 views
Web Analytics Web Part displaying “There are no results to display” message
I am a regular sharepoint user, not an administrator. I've create a Site under My Content and populated it with a dozen pages over the last 10 days or so. On the site home page I've added two Web ...
1
vote
1answer
196 views
Sharepoint Excel data table and Chart
Need help about sharepoint.
I have a table data collection currently in ms excel document look like the following image.
every last day of the week the information will be updated (append new ...
1
vote
1answer
155 views
how to use custom web part properties in CQWP
I have extended the CQWP and have several custom web part properties. One is a text field named "Header" and I would like to use it for a header in my CQWP. I know that I need to edit ItemStyle.xsl ...
1
vote
1answer
393 views
Can I add Media Web Part to Application Page?
I am trying to implement a video library page in Sharepoint. What I have is a Video Library where each of subfolder will represent a playlist. I want to create an Application Page which will have a ...
1
vote
1answer
892 views
how to add a custom filter for a chart?
I have a list which contains multiple column. I have inserted the chart web part and its showing the graph based on the column list. Now i want to add a custom drop down filter which contains column ...
1
vote
1answer
140 views
What happens when we publish a web part page which is in edit mode?
Edit Page.
Modify Shared web part.
Change some properties.
Click OK.
Publish.
What is happening between steps 4 and 5 ?
(wrt content and configuration databases)
1
vote
1answer
324 views
RSS Feed Viewer Sharepoint 2010 Webpart stopped working
I have a RSS view webpart in Sharepoint 2010 portal, till last day it was working fine. Now it's throwing the error.
“The requested RSS feed could not be displayed. Please verify the settings and ...
1
vote
1answer
52 views
Webpart updating event
is their a way to listen if a webpart has been updated. like a event reciver.
i could not find anything about it, perhaps if i added a itemupdated event, for pages that have been edited when the ...
1
vote
1answer
457 views
Sharepoint 2010 web part resize image to multiple sizes
Does anyone know of a Web Part for SharePoint 2010 that will allow you to upload an image and have it re-sized to multiple different sizes?
1
vote
1answer
51 views
Web part to list all pages unless they are hidden (site settings -> navigation)?
I have a web part that displays all pages in a repeater from the current site. If I go to site settings -> navigation and hide one of the pages then I don't want this page to be displayed in the web ...
1
vote
1answer
548 views
The connection point “filter parameter” on does not allow multiple connections
I have a custom web part which does not allow multiple connection.
Scenario : i add the custom web part on the page , add 2 list on the same page .
Step 1 : I connect List 1 to web part and implement ...
0
votes
1answer
30 views
How to show organization chart in SharePoint 2010
How to show organization chart for a company in intranet portal without using any third party web part? what is the simplest way to show data correctly?
0
votes
1answer
42 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 ...
0
votes
1answer
19 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
29 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 ...
0
votes
1answer
23 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, ...
0
votes
1answer
40 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
24 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
22 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
1answer
11 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 ...
