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
2answers
742 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
912 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
291 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
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
525 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
177 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
640 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
757 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
405 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
459 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
225 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
945 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
714 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
436 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
234 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
733 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
646 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
548 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
663 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
501 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
547 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
2k 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
342 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
74 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
585 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
689 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
449 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
218 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 ...
0
votes
1answer
174 views

Render web-part insinde control

Is it possible to render a web-part inside of a control? I have a webpart with a certain functionality which I want to re-use on a different page-layout directly. The first idea would be to extract ...
1
vote
1answer
113 views

How do fix height of row in SPGridview?(do't wrap row)

I have a Spgridview. I created columns in page-load . When bind it, the height of row is different. Its height varies based on the content within it. How do fix it?
0
votes
4answers
2k views

Options for changing web part headers. Multiple colors on one page

I have a requirement for allowing the users to select the web part header colors on a page. For example the home page of a site has an Announcements Web Part a Links Web Part, and a Calendar Web Part. ...
1
vote
1answer
220 views

How to set XSL property on inherited core search results webpart

I have created a custom Search results web part by inheriting from coreresultswebpart. I would like to override the default XSL with some modified XSL in my project instead of having to set the XSL ...
2
votes
2answers
1k views

Custom webpart to set and get Property per user (PersonalizationScope.User)

I am trying to create a custom webpart in point to set and get a property per user on page. To change the background and save it per user. I'm using code like this: public static string ...
2
votes
2answers
3k views

How do find web config file of Claims Based authentication?

I want Configuring claims and forms based authentication for use with an LDAP provider in SharePoint 2010. I change webcomfig file of : 1.Adjust the web.config of the Central Administration site ...
1
vote
1answer
60 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 ...
2
votes
1answer
916 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?
2
votes
1answer
225 views

Listview in a webpart: popup only appear once

The problem I am having a problem, with a Listview that gets included in a Webpart. When I am trying to make a, action on a list item, I get the dropdown. If I let et close and try to open it again ...
0
votes
3answers
2k views

What set for ASP.NET Membership provider name in forms based authentication?

I want created a custom login page . I set Claims Based Authentication my site . When i Enable Forms Based Authentication (FBA) , what value set for : ASP.NET Membership provider name ASP.NET Role ...
1
vote
1answer
749 views

Creating and Deploying a Custom Login Page for SharePoint 2010

I want created a custom login page . I use this link for created custom login . But when i build the solution,don't create a folder inside .\Microsoft Shared\web server ...
3
votes
1answer
542 views

How do modify active directory user properties?

I use this code for find users in AD SearchResultCollection results = null; try { SPSecurity.RunWithElevatedPrivileges(delegate() { ...
0
votes
2answers
1k views

Forbidden - 403 error when accessing a page containing a visual web part

I have restored my SharePoint 2010 site to a new web application. My site collection has two visual web parts on two different pages. I have 10 users who access my site. After restoring my site to a ...