Tagged Questions

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)

2
votes
4answers
11k views

Display List or Library on another site as WebPart?

I want to display my list on another site in same site collection. I edit List with SPDesigner, select the view and save it to site gallery. After these steps, I added the view webpart on my another ...
1
vote
1answer
1k views

How do I get values of fields from custom lists?

I have a custom list ("Contacts") as well as a web part with forms. I want to take the custom list fields and map them to the web part form. My problem is getting the values from the custom list. I've ...
0
votes
2answers
4k views

What is hidden webpart for in SP2010?

Follow-up questions to Closed vs. Hidden Web Part - what is the difference? : What are possible uses of hiding a web part (having closing) in Sharepoint 2010? why isn't unhiding a webpart in a ...
0
votes
1answer
464 views

Dynamically adding/editing list items in a “new” form of another list?

I'm new to Sharepoint, so I'm looking for some advice on how to tackle a problem I'm having when developing a solution for a client. This is a simplified example: I have two lists: one containing ...
2
votes
2answers
2k views

Closed vs. Hidden Web Part - what is the difference?

What is the difference between "Hidden Web Part" and "Closed Web Pat"? PS. I tried to search on the internet but could only find "deleting vs. closing" web parts Sharepoint 2010 (Sharepoint ...
1
vote
1answer
473 views

How to fetch document name from a document lib into a dropdown

This is my ascx page(Visual WebPart): <asp:DropDownList ID="DropDownList1" runat="server"> </asp:DropDownList> <asp:Button runat="server" ID="btn" onclick="btn_Click" ...
0
votes
1answer
257 views

RS Web parts title doesn't change

After installing the RSwepart that come with SQL server 2008. I noticed that the webpart title doesn't change. After i have tried changing it from Report Explorer to something else. See them here: ...
0
votes
1answer
2k views

Where are the Sharepoint Reporting Services webpart 2010

In SP 2007 there was a RS web part -(RS explorer and RS viewer webpart). And all you need to do is just connect them. But in SP 2010 i can't seem to find a anything similar.I can only see the ...
3
votes
3answers
501 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
3k 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
624 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
512 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
244 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
684 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
213 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
778 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
549 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
297 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
756 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
956 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
299 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
3k 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
2k 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
541 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
1k 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
184 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
187 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
657 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
780 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
423 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
461 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
237 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
1k 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
764 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
450 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
235 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
828 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
688 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
0answers
576 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
686 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
1k 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
105 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
517 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
573 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.