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)

3
votes
3answers
486 views

jquery projects and visual studio best practices?

Just curious how others are handling their jquery related solutions. It's obviously very easy to add a Content Editor web part with a content link to a source file. That file could have your ...
2
votes
1answer
2k views

create or get XsltListViewWebPart

What I want to do is just same with what I do when I add a list view web parts into a web page. The difference is that I want to do it programmatically. I know how to import web parts to ...
0
votes
2answers
589 views

Benefits of 'native' web part over a Page Viewer web part

I have a number of web 'components' that have been developed or need to be developed that provide simple web functions data input, setting target figures (some permissions based input) data ...
1
vote
2answers
498 views

Icon-based menu that dynamically changes based on permissions

We're trying to create an square grid, icon-based menu that is permission trimmed (certain icons appear based on your specific SP permission group), that dynamically rearranges the icons based on your ...
2
votes
2answers
1k views

FileNotFoundException from a Visual Web Part using an external class library

I have a solution and two projects in it: VisualWebPart and ProjectsLibrary VisualWebPart has a reference to ProjectsLibrary (tried to change Property for ProjectsLibrary Copy Local to false/true , ...
2
votes
1answer
2k views

Show ribbon for a single default webpart on page with multiple webparts

I have a webpart page with two webparts. One is a calendar and the other is a hidden content query webpart that references a file that is used to style (apply color coding) to the calendar entries. ...
0
votes
3answers
3k views

[UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported

When the upgrade of 2007 to 2010 took place i started to get errors for my webparts on my website as mentioned below: Error[1] Web Part Error: A Web Part or Web Form Control on this Page cannot be ...
0
votes
2answers
235 views

Why feature is linking old dwp version?

I had deployed feature with web part, assembly version 1.0.0.0. Then I have implement some changes in my solution and changed assembly number to 1.0.0.1. WebPart and feature version has been changed ...
1
vote
3answers
647 views

How do I create a webpart that displays a single document?

I'm revising the question to clarify what I need with more concrete examples. The solutions offered so far have led me to refine my questions. I am creating an online reference system on a page ...
0
votes
1answer
208 views

Don't sort number in SpGridView

I have a SpGridView whit BoundFiled. I set a ObjectDataSource for it. sourceDataTable = new DataTable (); myDataTable = new DataTableWrapper(sourceDataTable); Type t = ...
1
vote
2answers
668 views

Many 'group by' webparts intermittent loading

I have several list webparts (7-8) that all have documents that are "grouped by" a single field. The problem I'm having is that the expand button will sit at "Loading" and won't load! Some load ...
0
votes
2answers
537 views

How to Display a treeview Control in a webpart Or Alternatives

Hi I developed a TreeView that listing groups and users in them, but for some reason I cant find the best way even googled it, here's the Code protected override void CreateChildControls() { ...
-1
votes
2answers
278 views

Telerik RadChart in a Sharepoint 2010 webpart [closed]

Wondering if anyone can detail step by step how to use the Telerik RadChart control in a Sharepoint 2010 webpart.....what modifications need to be made to the web.config, etc. The info on the site is ...
0
votes
2answers
720 views

How do sort Templatefield in spgridview?

I have a spgrid with BoundField. I set allowsort to true. I bind datasource. but when i click in header dont sort?! DataTable table = new DataTable(); table.Columns.Add("Name"); ...
3
votes
1answer
855 views

Web part property - allow multi-line values

I have the following code in a webpart I am developing. WebBrowsable(true), Category("Data"), WebDisplayName("Banks"), WebDescription("Banks"), Personalizable(PersonalizationScope.Shared)] public ...
1
vote
1answer
273 views

how to open another browser instance or tab from within a page viewer web part

I made a simple graphical object in Microsoft Excel 2007; I saved it as as web page and uploaded it to a document library. Thereafter, I used a page viewer web part to show my page. However, whenever ...
0
votes
1answer
47 views

Designing application to serve multiple clients

I've been tasked with developing a small SharePoint 2010 application that serves multiple clients. I'm required to have one site that serves everyone but dynamically displays different data (header, ...
1
vote
2answers
2k views

Why is Zone Index Disabled for Some Web-Parts?

Salve! In my Sharepoint Server 2010 site, I have subsite with some webparts on it. There is only one web-part zone, and the page is a wiki page. However, I want web-part #1 to appear below web-part ...
0
votes
2answers
1k views

two column layout using XSLT of People Search Core Result WebPart

I have implemented "Employee Directory" on my portal using People Search Core Result Webpart. I want to create two column layout to display the results. How can I do that.
1
vote
2answers
500 views

Convert document library word document to pdf using third party dll

Hi I want to convert word document in pdf. I found lots of solution using office dll. But i want a solution using free third party dll because in office dll there must be office installed. so on my ...
0
votes
2answers
970 views

Add more to PlaceHolderMain (Custom)

I made a master page and created a new page from it. In the PlaceHolderMain I added a few WebPartZones and then in the browser filled them with CEWPs and filled the CEWPs with content. Now I go back ...
1
vote
1answer
182 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)
0
votes
0answers
171 views

Excel webpart limitations…?

Excel webpart limitations? Wanted to configure 8 Excel webparts on my SharePoint 2010 page, it works for 5-6 Excel webpart on the page and started throwing the error "Internet Explorer cannot display ...
0
votes
2answers
609 views

Show headers on empty data source in SPGridView

I have a webpart with SPGridView. I created column dynamic. This works fine when I have data, but when no rows are returned then I just get a blank spot where the grid should be.
1
vote
2answers
733 views

Getting rid of the checkbox on SharePoint 2010 Lists

After doing an upgrade on a 2007 content database, I have noticed that every existing list view web part (not new, they dont seem to be affected) has a checkbox for selecting multiple items. I can ...
1
vote
1answer
395 views

Hide “Edit Page” menu on customized DispForm.aspx

I have a custom web part (C#) for viewing/editing a SharePoint list, which I have added to the NewForm, DispForm, and EditForm pages for that list. Unfortunately, users with Edit permissions for the ...
0
votes
2answers
453 views

How do use MyWebpart in EventReceiver?

I created a webpart with many properties. I want add it in EventReceiver and set properties. How do use MyWebpart in EventReceiver?
0
votes
1answer
214 views

TSportal Web Part Problems

Has anyone else had any experience using the TSPortalWebPart, we have put it onto our Sharepoint to give people access to applications but it seems very hit and miss as to if it works: Sometimes ...
2
votes
2answers
853 views

“Add document” link missing from ListViewWebPart

I'm adding an ListViewWebPart programmatically to my custom page, so far so good, the problem is that the link "Add document" is missing(Summary Toolbar), and the simple behavior of open the edit web ...
1
vote
2answers
670 views

change font in web part

Is there a way to change the font in OWA web part for calendar? The fonts are so big and wont fit in the area where web part is. Please suggest.
0
votes
1answer
404 views

Visual WebPart using Visual Studio 2010 and use XSLT for customize look and feel

I just configured User Profile Synchronization Service on my portal and now need to implement "Employee Directory". I have created a VisualWebPart Solution in Visual Studio 2010 and Programatically ...
1
vote
1answer
231 views

Error: Access Denied in Claims Authentication, Custom Login Form

I created a web application Claims Authentication. I want create a custom login form. I use this link for create it. But when login it , I get error: Access Denied
1
vote
1answer
647 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 ...
3
votes
1answer
593 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 url ...
1
vote
0answers
521 views

MS11-100, MaxHttpCollectionKeys not working

Our application is giving the following error in a large form: System.InvalidOperationException: Operation is not valid due to the current state of the object. at ...
1
vote
1answer
629 views

Webpart user scoped personalizable property not working

I'am trying to create a webpart with a personalizable property scoped to the user level. [ToolboxItemAttribute(false)] public class TestWebpart : WebPart { static int _backColor = 1; ...
0
votes
1answer
1k views

Forms Based Authentication Users in the SharePoint 2010 People Picker Not Working

I Created custom login page . I use this code for login if (Membership.ValidateUser(Username.Text, Password.Text)) { SecurityToken tk = SPSecurityContext.SecurityTokenForFormsAuthentication( ...
1
vote
1answer
908 views

Change Language Sharepoint using Drop Down List

I'm trying to change the Sharepoint 2010 Language using a drop down list on a web part with the values. It work's fine but only change the language in the current page, not in all site. Here's the ...
0
votes
1answer
103 views

Find the PerformancePoint “Dashboards” SPList

I need to write a WebPart that finds all the SPList that can store PerformancePoint dashboards (like the default "Dashboards" one that is present in every BI site). What's the best method to ...
0
votes
3answers
1k views

Body column is not visible on Announcements web part

We use WSS 3.0 to host our portal. I created a new site on my Staging Server using the Blank Template and added an Announcements list, then put the Announcements Web Part on the home page. The Body ...
0
votes
2answers
487 views

Error Handling Strategy for Sandboxed SharePoint Solutions

I am looking to develop an error handling strategy for a SharePoint solution that makes use of sandboxed webparts. I was initially looking at a general exception handling approach based on this ...
0
votes
2answers
532 views

Customising the edit web part dialog

Is it possible to customise the edit dialogue window that is opened when editing a web part? Customised with regards to appearance, what fields are exposed etc.
0
votes
1answer
140 views

Add web part property to all SharePoint Web Parts

Is there a way to add a web part property to every web part (SharePoint 2010), including OOTB web parts. Essentially I want to add a header color option to the appearance section of the web part tool ...
2
votes
1answer
1k views

How to add a webpart to 2nd “Top” Zone of a Webpart Page Programmatically

I Have a webpart page, which has layout as shown in picture, Now I want to add a webpart to second "Top" zone of my page but I dont know how to access it, If I want to add it to first top zone I ...
2
votes
1answer
326 views

Enumerating picture library images from folders created by non-administrators fails

We've created a slide show webpart in sharepoint 2010. Site authors can choose a folder (or subfolder) from any picture library located on the root site. The webpart will enumerate and display images ...
0
votes
1answer
72 views

How to insert picture into special part of word?

I have a picture of internet . I want save it in special part of word . I find special part with this code . XNamespace w = ...
1
vote
2answers
571 views

Click Event on a HyperLink in a webpart

Trying to add a click event to a hyperlink, but couldn't find any way except people using this code of line with some javascript, HyperLink link = new HyperLink(); ...
3
votes
5answers
628 views

Automatically add tag to uploaded document in sharepoint

My environment is sharepoint 2010 and vs 2010. I already have an OOTB document library that I am using and I wanted to know how I can add a tag or keyword to a METADATA column. I am using the same ...
0
votes
3answers
442 views

Access Denied for SPUserCollection.remove()

Works for administrator but not working for a normal user. I even tried it with "SPSecurity.RunWithElevatedPrivileges(delegate() {});" after breaking RoleInheritance, and even tried ...
0
votes
2answers
194 views

Library Tools Options Not Clickable

I have come across this issue a couple of times now, when i go into the web parts page under site settings, i cant click on the documents or Library tabs under Library tools. I want to get into these ...