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
1answer
1k views

can't edit webparts

I add web part to a page, chose edit this webpart on popup menu and in editor zone click "ok" but nothing happend. it seems that ok button is completely dead. thanks for your advice.
0
votes
2answers
370 views

SelectedIndexChanged to be handled by button click

SharePoint Webpart (not visial webpart) VB.net (2010) I have list box that the user choose an item the click the button. The button will take the selectemitem.text and and create the output. in VB ...
1
vote
2answers
1k views

This powershell runs but why is it so slow

I ran this powershell which automates wsp addition, activate, deploy web parts and it runs fine. However, it takes about 3 minutes to go through the whole process. Is this norm? = = = powershell code ...
1
vote
4answers
4k views

Can a multiple value “lookup” column be displayed as checkboxes in a SharePoint List?

I have one list to store information about people, and another list storing a list of tasks each person should achieve. I'm trying to create a SharePoint view which allows users to enter/modify ...
0
votes
1answer
158 views

Removing HTML from the text in filtering SPGridView

I have a WebPart, bulding a SPGridView control with filtering. I use this code for filtering: grid.AllowFiltering = true; grid.FilterDataFields = ",Name,Region,Total Sales"; ...
1
vote
2answers
113 views

SharePoint 2010 - Attributes are not sticking

I am developing a Visual Web Part. I have attributes the Visual Web Part consumes. When i use these, I have to re-set the value everytime I re-deploy the web part (by hitting F5). Here is an ...
3
votes
3answers
219 views

Can I use EntityFramework and sql azure with Sharepoint Online?

I would like to connect to an entity model from a sandboxed webpart in sharepoint online. Is this possible? Is it possible to connect to sql azure from a sandboxed webpart?
1
vote
1answer
304 views

Copying a web part to /all/ pages?

I've created a right sidebar (summary links) on the page - for now, we'd like every single page on the site (>300) to have this, and then for certain pages to be customised (a few links added/removed ...
1
vote
1answer
3k views

Disable Horizontal Scroll Bar on Navigation Web Part in SharePoint 2010

How do I disable the horizontal scroll bar on a web part (actually it's in zone 1 on a navigation blog page web part) in SharePoint 2010? I set the the length to 5.5 inches to get a vertical scroll ...
0
votes
2answers
643 views

How can I make a task list show different tasks for different groups?

I've added a Tasks web part to the homepage of a Sharepoint 2010 site and I want it to show "My Tasks" for some groups (e.g. the employees), "All Tasks" for others (e.g. the managers), and would like ...
0
votes
1answer
71 views

Portal page with web part - access issue

We have a page which displays some data based on list items which are stored in another site collection. Many of those items have custom permissions set up. Story goes like this: when user has ...
2
votes
1answer
176 views

file not found when click new in webpart gallery

I am getting an error when i click new webpart in webpart gallery. I want to deploy my custom webpart to sharepoint webpart gallery. I try to look in sharepoint log. Sadly, there is no further info in ...
1
vote
2answers
660 views

Update-SPSolution stops IIS Application Pool from another Web Application

I'm trying to figure out a wierd problem, maybe yous guys can help. I'm deploying a web part using powershell (Update-SPSolution) in a build definition. The deploy works, but every time one ...
0
votes
1answer
1k views

SPContext.Current.Web and security exepction

I write a webpart in C# for sharepoint 2007 .When i try to create instance of SPSite or SPWeb , for example: SPSite sit = new SPSite("http://sharepoint"); or SPSite sit = ...
1
vote
2answers
1k views

Custom EditorPart - Make it look like regular category Appearance, Layout

I am creating a Custom EditorPart in VS 2010 and have it all working as I would like. The only issue I want to fix is that I want the custom parts to look like the Appearance and Layout sections. I ...
1
vote
2answers
540 views

Referencing jQuery from Masterpage and WebPart

I am referencing jQUery from my MasterPage as follows: <SharePointWebControls:ScriptLink runat="server" Name="/_LAYOUTS/myprojIntranet/js/jquery-1.7.1.min.js" Localizable="false"/> And in my ...
1
vote
2answers
304 views

Content Rotator to display latest posts only

I am looking at AnythingSlider and a custom content slider and was wondering if these tools allow me to display most recent content only. For a news rotator I only want to display top five news from a ...
3
votes
3answers
581 views

Profiling tools for Sharepoint 2010 web part .NET code

We are working on a pretty large scale project having large number of custom web parts with substantial amount .NET code working on Sharepoint server object model and the like. The normal profiling ...
1
vote
2answers
495 views

How to get FBA users' profile with ASP.NET

I'm getting Windows users' profiles, in my webpart, doing the following: UserProfileManager pm = new UserProfileManager(SPServiceContext.Current); SPUser spuser = web.AllUsers.GetByID(user.Id); ...
0
votes
1answer
728 views

Set web part custom property when adding to page from code

We have a solution that adds All Assignments Web Part from Sharepoint Learning Kit into a page. Here are code snippets we use to do that: public static string AddWebPartToPage(SPWeb web, string ...
0
votes
2answers
132 views

wss 3.0 Webpart Disappears after couple of days of operation

I have custom wss 3.0 webpart installed in my wss site. This webpart is deployed to many servers. Performance is very positive and stable all across other servers. Recently i have encountered a weird ...
1
vote
1answer
837 views

How to do a (performant) check if postback is caused by my custom webpart?

Here are some background infos for this question: Where to load data in the lifecycle of custom webpart Having a webpart with different controls (buttons, dropdownlist etc.), I want to check, if a ...
0
votes
1answer
296 views

How do grouping data in Chart WebPart?

II have a list with lookup field . I want created a chart with Chart WebPart that grouping data with lookup field and calculate sum a special field . How can I do?
0
votes
1answer
751 views

attachment functionality with the custom webpart in sharepoint 2010

i want to implement a attachment functionality in a custom webpart, which functions that same way as it does in sharepoint OOB,...any suggestions?
6
votes
6answers
4k views

How to programmatically create a chart in SharePoint?

I need to create a chart based on items from a list dynamically in a webpart...
1
vote
1answer
246 views

Item Display Form showing View + Page tab in Ribbon while other pages have only View

I have a list with a display form for which I have specified a different rendering WebPart: DataFormWebPart as opposed to the default ListFormWebPart. This caused some issues with the Ribbon. I ...
1
vote
1answer
335 views

Sharepoint Ribbon for view item form going full option

I have a view item form which contains a custom WebPart for displaying that item. I have no issue with that but the ribbon for the display form looks weird: It contains lots of options that don't ...
0
votes
1answer
843 views

What's in the http://schemas.microsoft.com/WebPart/v2 namespace?

I'm adding some custom forms to a list instance by using the <AllUsersWebPart> element in the list schema. It basically configures a WebPart. My question is, what are all the possible tags I ...
0
votes
2answers
2k views

Handle the event generated by ddwrt:GenFireServerEvent('__name')

I have a custom DataFormWebPart that renders some content based on an XSLT. Inside the XSLT I have a button that does a postback like so: <input type="button" value="..." name="..." ...
1
vote
2answers
656 views

Adding a conditional column broke the entire page

I added a conditional column to a list, it had a complicated algorithm to determine the value. I'm sure I had a syntax error in it, however now I can't even access it. When I try to view the list, I ...
0
votes
1answer
40 views

uploading links to various trade websites using which webpart? What is the easiest way to accomplish this?

My company has a section which wants to upload 'new and relevant' articles to its' SP site. They use 7 very specific sites to gather their information from, which we search with targeted criteria ...
0
votes
1answer
245 views

Sharepoint Toolpart Event Not Firing

I have created a Sharepoint WebPart, and I have given it a custom ToolPart that includes a Grid (a Telerik RadGrid, to be exact, though that is rather irrelevant). I have populated the grid, and ...
3
votes
1answer
847 views

~site / ~siteCollection token replacement with sandboxed solutions

It seems you cannot use the ~site or ~siteCollection tokens in an Element.xml when you deploy as a Sandboxed Solution. Has anyone ever seen this behaviour? Code snippet: ...
1
vote
1answer
374 views

Deploying a DataFormWebPart

I have a page with a DataFormWebPart setup to display some data from a subweb. The page is setup ok, the webpart is working. In my solution, I need to create the subweb (that's already working ok) and ...
0
votes
2answers
285 views

PerformancePoint Services 2010 - Reuse dashboards in external standalone ASP.Net application?

I am a newbie to PerformancePoint Services 2010 & Sharepoint 2010. Assuming we have the necessary licenses, we are wondering what is the best option to include the dashboards developed in PPS/SP ...
0
votes
1answer
3k views

Error occurred in deployment step 'Activate Features': Attempted to perform an unauthorized operation

I Created a web part and add Event Receiver to handle ItemAdded event. When run in visual studio , i get error Error occurred in deployment step 'Activate Features': Attempted to perform an ...
1
vote
1answer
209 views

How to remove System.Web.UI.WebControls.WebParts.Part

I am trying to remove some WebParts from a page in my site collection. Normally I can do this with SPLimitedWebPartManager.DeleteWebPart(webPart) however, that will not delete ...
1
vote
4answers
514 views

How to access a library that is not in same farm. i.e. WebPart is in Farm1 and library is in Farm2

How to access a library that is not in same farm. i.e. WebPart is in Farm1 and library is in Farm2 My company has many farms and now I need to create one WebPart that is going to sit in farm1 but it ...
0
votes
1answer
335 views

I can't find the GlobalNavigation WebPart

I wan't to modify the MySite GlobalNavigation WebPart to customize the title in the top left corner. I can find there is a delegate control in the master page but I can't find this control anywhere... ...
1
vote
1answer
484 views

Querying FAST Search Server for Sharepoint from Search Webparts

I'm new to SharePoint and FAST. In SharePoint 2007 implementation for our projects we used "Esp-Searchapi" for querying the back-end FAST ESP 5.3. As we are now migrating to SharePoint 2010 and FAST ...
2
votes
1answer
131 views

can you recommend a 3rd party Staff Leave/holiday/vaccination management web part or equivalent?

it should allow authenticated users to request time off of work, which when approved by an administrator, shows up in a calendar. Administrators will be able to set vacation allotment for the year, so ...
1
vote
2answers
124 views

Can I develop web part for SP 2007 if on my machine is installed SP 2010?

On my computer, I have installed share point 2010 and visual studio 2010. Is is possible to develop web part for share point 2007 from my machine? I can not create new project in VS for share point ...
1
vote
2answers
283 views

How to add a New User to AD?

I have a list for personel. I want add new user to AD when adding a new item in personel list. I use this code but don't created user private SPUser CreateUser(string strLoginName, string strEMail, ...
1
vote
2answers
438 views

Managing WebParts with dependencies on Web scoped Features

I have a Web scoped Feature which provisions a number of Content Types, List Templates & Instances, Custom Actions etc that enables a discrete set of functionality. I also have a number of ...
12
votes
3answers
21k views

Hide the “Add new Item” option below the sharepoint 2010 list

I have a sharepoint 2010 list, I want to hide the option "add new item" which resides below the list, any suggestions?
1
vote
2answers
1k views

How can I add sections in a Document Library?

I have a Document Library of uploaded documents which are classified in sections and displayed by a WebPart. I wan't to add a new section in this library but I didn't find where I can do that. I must ...
3
votes
3answers
9k views

Show recently modified or uploaded documents

I'd like to display a list of the most recently modified documents across all document libraries in a site in Sharepoint 2010. It seems that the Content Query webpart might do this for me, but the ...
1
vote
1answer
347 views

web.confg httpRuntime changes - wss vs. wse

I'm trying to allow large file uploads from inside a web part, and I'm having some timeout issues. I'm attempting to increase the executionTimeout to deal with this, but I've seen different ...
1
vote
1answer
3k views

“Add Web Part” permissions?

Where/how do I edit/influence the permissions which dictate which Web Parts users see when they choose to add a web part to one of their pages in SharePoint 2010?
4
votes
1answer
540 views

Consumer+provider web part connections: output is asked before input

I created a simple web part that has both a consumer and a provider connection. The provided output depends on the consumed input (so this is a sort of pipeline approach). I managed to implement the ...