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
4answers
1k views

Where to deploy scripts in a sandbox solution?

I have a webpart deployed as a sandbox solution. The webpart has resource files, javascript files, css styles, and images. Where would I deploy all these in a sandbox solution (Office 365)? Thanks!
0
votes
2answers
183 views

Webpart integration in Application page

I exported the List as webpart using Sharepoint Designer for "News and Annoucements". I have created a custom login page for our web app (application page). Is it possible to integrate the webpart ...
0
votes
4answers
438 views

How do I make the webpart show up on the child site?

I have deployed a solution to my farm and activated the feature. I then navigate to: sharepoint/_catalogs/wp/Forms/AllItems.aspx I can see the webpart but I can't see it in: ...
0
votes
3answers
623 views

Why don't update a choice column with javascript?

I have a list . I want update special item of it with javascript. I created a js file and add this code to it : var context = new SP.ClientContext.get_current(); var web = context.get_web(); var ...
2
votes
1answer
566 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 ...
0
votes
2answers
62 views

Upgraded SP Servers and now webpart can't access C drive

We had one WFE server and upgraded to 2 WFE servers with a load balancer. We are using the SharePoint Server Standard edition. Because we are using the Standard edition and do not have access to BI ...
6
votes
3answers
4k views

After retracting webpart solution webparts still showing up

I retract a webpart solution that was deployed via Visual Studio. Then when i edit a page for some reason the Custom category + the webparts are still being listed when i try to insert a webpart. ...
1
vote
2answers
534 views

Webparts: What are publickeytoken's, how do I find out what I should set as?

I've been following the following guide to write and deploy a simple web part (first time doing this): http://www.codeproject.com/Articles/25019/Getting-started-with-SharePoint-2007-Web-Parts I hit ...
1
vote
1answer
344 views

Page load time in SharePoint web part?

I'd like to add a simple web part to one of our pages to track the load time of the page and display it to the user. Although I thought this would be common / easy to google it doesn't appear to be ...
0
votes
1answer
177 views

Is there a datagrid for SharePoint web parts?

I have some background in WPF / C# and would like to replicate what I can do there with datagrids in a SharePoint web part. Is there an equivalent control that I could use? If not, what do people ...
0
votes
0answers
70 views

Sharepoint AD profile editor

I'm using Sharepoint 2010 Standard and wanted to know how its possible to alter the Active Directory profile of users. Sharepoint has a Profile Service which i havent used, I dont know if this can ...
0
votes
1answer
124 views

Data access from web part problems

I've been pulling my hair out for about two weeks so far and I'm about on the edge. I want to build a web part that queries and external (not part of the SP farm) database. I'm attempting to port ...
0
votes
3answers
1k views

Show Web part only for Logged in User

Is there any way that i can show a web part only for current logged in user .I want to achieve this on an out of the box content editor web part .Please suggest me
0
votes
1answer
257 views

Showing users like SPFieldUser

Is there an option to show users like the SPFieldUser? I have a custom c# webpart and want show usernames. Every username i want to link to a userprofile. I also want the online status of a user.
1
vote
1answer
316 views

Add Title to Web Part Page Programmatically

I am using following code to create web part pages. I want to add the "title" of the page as well. I am not sure what would be the extra piece of code. My site is not a publishing site and I am not ...
2
votes
2answers
345 views

What software do I need to develop web parts?

I'm a site collection administrator for my SharePoint site and would like to create a custom web part for my site. I don't have access to the server that's running SharePoint and am unlikely to get ...
1
vote
1answer
191 views

default custome webpart became static on custom site page

I have created a custom site page in sharepoint 2010 and added the following code to it <WebPartPages:WebPartZone runat="server" FrameType="TitleBarOnly" ID="Main" Title="loc:Main" > ...
1
vote
1answer
273 views

SharePoint 2010 and ASP Profile Provider

We have web application with SQL ASP Membership Provider, Role manager and profile provider. This web application has both authentication methods: NTLM and forms. Everything works fine. Problem ...
1
vote
2answers
699 views

403 Forbidden on publishing page with webpart

We created bunch of web parts for our client. Initially we set up web application on port 1443 with NTLM and Forms authentication. Everything works ok. Now we extended this web app to port 443, with ...
0
votes
2answers
480 views

Rendering Webpartzone is to large

I have a Div box with an Webpartzone in it. But when i'm rendering my page, the webpartzone is to large. I thought a webpart zone has the width of 100% of his parent container. But not in my case. ...
0
votes
1answer
309 views

Web Part displayed in another Web Part

I'm trying to build a "news feed" on my corporation's sharepoint site. I do not have access to the files that sharepoint creates, neither the original structure of the site. I am limited to using the ...
0
votes
2answers
226 views

mailto link in IE breaks after adding Search Core Results Web Part

I'm trying to create a link that pops open a new email in outlook: <a href="mailto:someaddress@mail.com?subject=blah">Feedback</a> and this works fine in firefox, but in IE9 it's ...
3
votes
2answers
2k views

Connection between 2 web parts

Im embeding two webparts in my sharepoint page using page viewer. One part is UI which takes input from user and on submit it shud be passed to other web part and it should get refreshed. can anyone ...
0
votes
3answers
4k views

Webpart to rotate through images?

I downloaded this webpart to rotate through images stored in a library however, it seems that the library of images MUST be on the same page as the image rotator for it to work... Any idea how to ...
1
vote
1answer
1k views

Using a date column in a sharepoint online web chart web part

I added a "web chart" web part to a sharepoint online page from the browser interface. Next, I decided to run the Data connection wizard to connect my chart to an excel services. In the step 3 of ...
0
votes
2answers
60 views

Installing webpart

I'm a beginner on Sharepoint and I want to ask if I can install webpart at our subsite. I only have access to our subsite's MOSS. Thanks
0
votes
1answer
138 views

SharePoint Web Parts can not be connected via hyperlink fields

In short: I'm trying to filter an XSLTListViewWebPart based on what is selected in another XSLTListViewWebPart. Using a String field as connection this is working fine. Using a hyperlink field no data ...
0
votes
2answers
634 views

Can you attach a workflow to a web part?

In sharepoint 2010, is it possible to attach a workflow to a particular web part so that it is run wherever that web part is inserted within your site. For instance, I will be developing a large ...
2
votes
1answer
772 views

Export SharePoint 2010 WebPart Data to Excel using SandBox Solution

I am trying to create a sandboxed webpart to export data from another webpart within the webpart page to excel. I tried using the Excel ActiveXObject in a client side script but it requires this ...
0
votes
1answer
2k views

How do I configure styles and layout of a Summary Link Web Part using code?

I have successfully added a Summary Link Web Part as a feature and want to configure the styles and layout of it, including: The default style for new links The group header style The number of ...
0
votes
1answer
3k views

Viewstate to keep data after postback

[Personalizable(PersonalizationScope.Shared)] [WebPartStorage(Storage.Shared)] public List<searchResult> lsQtys { get { List<searchResult> ...
0
votes
1answer
75 views

Add web part properties in separate file

I am developping a web part that customizes the SharePoint Ribbon (hide or show buttons). Can I store some properties in a separate file? If the web part is active on three sites, I should have three ...
1
vote
1answer
955 views

Display a list of subsites?

Is it possible to display a clickable, self-updating list of subsites on the top-level site? Also, is it possible to further sort the list according to the subsite category? if it is, how can you ...
2
votes
2answers
801 views

Missing Server Side Dependencies Errors on Search Service Administration WebParts

I am trying to resolve some [MissingWebPart] errors from the CA Health Analyzer, from a site migrated from 2007 to 2010 with a database detach/reattach. The set of errors all refer to the WebParts on ...
0
votes
1answer
178 views

Error when connecting web parts in Code-Behind

In relation to my previous question, I've found some help on the internet that describes how to accomplish connecting web parts in the code-behind file of a site page. Following this, I have the ...
1
vote
1answer
1k views

How to filtering multiple columns in SPGridView

I have a webpart with SpGridView. I bind it with ObjectDataSource. I want filtering multiple columns. I set AllowFiltering for spgrid: grid.AllowFiltering = true; grid.FilterDataFields = ...
4
votes
2answers
3k views

Removing Orphaned WebParts via PowerShell - CheckIn/CheckOut Requirement Loop

A client migrated from 2007 to 2010 doing a database detach/reattach without checking the database for orphaned objects first. I whipped up a PowerShell script to programmatically remove orphaned ...
1
vote
1answer
275 views

Unable to use filter or edit Excel Worksheet while opening from Excel web access?

I am able to view and filter data based off excel fileters via the Excel Web Access web part for Excel workbooks. However, when I "open in Excel" it does not allow me to filter or edit. Note: I ...
0
votes
1answer
2k views

How to set caml query for special view?

I have a list with 3 views. I want find special items of this. I use SPQuery for it. <Where> <Eq> <FieldRef Name='TypeTitle' /> <Value ...
1
vote
2answers
4k views

date ranges in CAML queries

I have a list with a datetime filed. I want selected items from this with date rang. I use this code <Where> <And> <Geq> <FieldRef Name='SendDate' /> <Value ...
1
vote
1answer
2k views

Create sitemap webpart

I created Table of Contents webpart to just display the Sub Sites, but it is showing the lists (Library, Lists, Discussions, etc...). How can I just show the sub-sites and sub-sub-sites using a web ...
2
votes
1answer
4k views

Core Results Web Part - Fixed keyword query - examples?

I'm experimenting with Core Results Web Part. According to http://msdn.microsoft.com/en-us/library/ff394509.aspx http://msdn.microsoft.com/en-us/library/ee872310.aspx I should be able to write ...
0
votes
1answer
247 views

Best way to write Html in a Webpart

What is the best way to write/output html in a webpart? I am coming from PHP, there it was pretty straightforward. I have seen the HtmlTextWriter, but I think that is very odd and makes it even more ...
1
vote
0answers
359 views

Sharepoint 2010 - item field updating not working on a document library

I have this code here from a webpart that creates a treeview from a document library. For each item in the list it will create two child nodes called "Up" and "Down". When you click up, it should ...
2
votes
1answer
228 views

Is It Possible to Add the SharePoint List View Related Ribbon to the Application Page?

Is it possible to add the list view related ribbon to the application page? I have a list view webpart in my application page. Now I don't have any ribbon like list view web part. Is it possible to ...
1
vote
1answer
601 views

Extending CoreResultsWebPart - Setting defaults

I'm in a process of extending CoreResultsWebPart - I'm trying to create something like "Who is Blogging" to show you most recent blogs from people. Following properties will be changed - so that when ...
0
votes
2answers
100 views

How to set the panel on the custom webpart without scrollbars

We have a panel in our custom webpart & its size is set as equal to the webparts size on the createchildcontrol method...however the panel is coming up with scrollbars.. how we can display the ...
1
vote
1answer
1k views

News web part for Sharepoint 2010

I am looking to build a News web part (Sandboxed) as we can see in below link. http://timesofindia.indiatimes.com/tech/techhome/5880659.cms Requirement is, The News web part should contain a ...
0
votes
0answers
616 views

List View Webpart with Thumbnail View

I have a Picture library and I use the default Thumbnails view. So I created a List View WebPart on the home page and the items are all messed up. Instead of showing in a nice and tidy grid, there are ...
0
votes
2answers
617 views

referencing jquery in a sandboxed solution

I have a sandboxed sharepoint project, in which I have created a module, put jQuery there and referenced it from my webpart's ascx page like this: <head> <script ...