All Questions
4,017 questions
1
vote
2
answers
384
views
Using C# 3 (.NET 3.5) for ASCX and ASPX files in SharePoint 2010
In an OOTB SharePoint 2010 Server installation, if you use C# 3 in your code-in-front, it doesn't compile, since the C# 2 compiler is used to compile the markup. (At least for me - SharePoint 2010 ...
1
vote
2
answers
1k
views
Drag And Drop SharePoint WebParts in Mozilla FireFox
i am having a problem with drag and drop of Share-point web-parts in browsers other than I.E.
the drag and drop of Share-point web-parts in internet explorer works fine . but in any other browser it ...
1
vote
2
answers
1k
views
WebPart property with a HyperLink editor?
I am currently developing a SharePoint 2010 WebPart that has a custom property which has to capture the Url of an external website. In an attempt to make the WebPart more complete I would like the ...
14
votes
5
answers
28k
views
How to programmatically add a webpart to a page?
I have created a webpart, now I need to add that webpart programmatically into the EditForm.aspx page. Can anyone help me on this.
0
votes
1
answer
141
views
How can I call controls on a 'multiple control webpart' dynamically by using JavaScript
Could anyone please tell me how to call controls on a 'multiple control webpart' dynamically by using JavaScript in sharepoint
0
votes
1
answer
3k
views
fix the position of a webpart
hey all ... i have a query i.e. How can i fix the position of the webpart on a page? in user personalization scope
fixed position means fixed zone & fixed index (top / buttom). & user can ...
0
votes
1
answer
984
views
Customize People Search Results
i want to edit my people search results but i can't do it. i want to show phone numbers , email or id of the users. how can i do that?
1
vote
1
answer
154
views
Is there a way to programmatically access the parent zone of a custom web part?
I'm trying to create a web part that a user can add to a page and it will display a website in the entire viewing area. My web part wraps a page viewer web part, and it seems that I need to be able to ...
0
votes
1
answer
235
views
Web part: Security trimmed results on Recently updated content for currently logged in user
I'm looking into a solution for a querry web part(?)
The web part should display the 10 last updated documents (or less), in the last 2 weeks for all the document libraries in a specific web ...
1
vote
3
answers
5k
views
How do I run some JavaScript in a web part?
I found some JavaScript code on the web that I want to add to my custom web part so that I can modify a PageViewerWebPart's height to 100%. I just need to know what steps to take to call it. I added ...
0
votes
1
answer
2k
views
set a person / user as target audience for a custom web part in sharepoint 2010
is there any way by which i can add a specific user or group as target audience of my custom web part programatically ??
i am using
SPWeb web = SPContext.Current.Web;
...
0
votes
1
answer
175
views
anonymous user is not able to see web part settings in sharepoint foundation 2010
I created one anonymous site in sharepoint 2010 and added one web part.
Anonymous user is able to see web part But anonymous user is not able to get web part setting.
thanx.
1
vote
1
answer
2k
views
Connectable web parts - consuming from OOTB list view web part
I'm trying to create a custom web part that consumes from an OOTB list view web part's "Send Row of Data To" producer. The list has a lookup field to another list, and I need that value (the ...
2
votes
1
answer
443
views
MY SITE Users Information List
I am new to SharePoint and I am making a student portal site and i put who is who section. when student want to search a name on the student portal , informations will be list on the portal.
So i want ...
3
votes
2
answers
2k
views
What are the disadvantages of Visual Web Parts?
I am really wondering what the disadvantages are when using a Visual Web Part. All the books and articles on the internet only talk about the pros. But I am sure the are some disadvantages, beside the ...
0
votes
3
answers
2k
views
not able to see web part on anonymous site in SharePoint 2010
i am not able to see custom web part on my anonymous site in sharepoint 2010.
when i add out of box web part it is visible but custom web part is not visible.
please help me to resolve this.
1
vote
3
answers
545
views
Where is my web part? [MOSS]
A newly developed web part has been deployed to a half dozen site collections. We use one site collection for demo purposes. The new web part is available at all levels of that site collection, and ...
1
vote
3
answers
3k
views
Problem hiding scroll bars in a custom web part with embedded Page Viewer web part
I am designing a custom web part that basically wraps the existing PageViewerWebPart. I am doing this because I want to have some properties hard-coded and I want the URL to be formed dynamically when ...
0
votes
1
answer
2k
views
XsltListViewWebPart - run some javascript after async refresh
I've got an xslstlistviewwebpart, and set in the AJAX options to refresh the webpart every 15 sec. Is there a way to hook up some javascript code after the webpart is refreshed?
Larsi
0
votes
2
answers
3k
views
CEWP on Allitems.aspx in SharePoint 2010?
I have a SharePoint 2010 Discussion board and would like to add a Content Editor Webpart on Allitems.aspx page of it. I understood that we can not directly add a CEWP into the page however should use ...
0
votes
2
answers
818
views
ListViewWebPart and new document link
I added a ListViewWebPart that is setup show the Shared Document list and the first view. My problem is that I do not get the New Dokument link in the web part. How do I get the web part to show the ...
-1
votes
1
answer
247
views
Add a class to a sharepoint web part project
I do apoligize in advance for that's a probably silly question but... I'm developing a custom Sharepoint Webpart and, for the sake os SOLID principle, I need to embed certain functionalities in ...
1
vote
1
answer
227
views
How can I pass theme and locale to a web part in SharePoint 2010?
I have a Silverlight 4 web application that needs to be added to an already-existing SharePoint application. SharePoint and the silverlight web app could be on the same server or different servers. ...
0
votes
4
answers
1k
views
Web part settings losing their values every day
I have a web part custome setting, defined as below. It works fine but it seem to lose its value once a day!? Is this because the app pool is getting recycled or some such?
Is there anyway to prevent ...
1
vote
2
answers
4k
views
Which web part will display the current user?
Do you know what web part I can use to display the picture of the current user?
0
votes
2
answers
481
views
Using Web Part when adding document to a library
When a user uploads a document to a SharePoint library, I need to present them with a few dropdowns and text fields where they can provide some extra info. The dropdowns are going to be populated from ...
3
votes
4
answers
9k
views
When does custom properties of a web part get saved?
I have a web part that contains a number of custom properties. Only one of those customer properties shall not be set by the user.
This property is an int, that represent a unique identifier.
I want ...
1
vote
2
answers
299
views
"Some of the properties for this Web Part cannot be set or displayed properly"
Im getting this error when trying to add a custome property to a webpart, what have I done wrong?
[WebBrowsable(true),
Personalizable(true),
WebDisplayName("Site Root"),
...
0
votes
3
answers
2k
views
Linkbutton OnClick event incorrectly firing on page load
My click events are firing on linkbuttons on page load, before the link has been clicked, any ideas? (This is in a Visual web-part hosted in SP2010)
This is my code:
<asp:LinkButton ID="...
1
vote
3
answers
4k
views
Linkbutton onclick not working in a Visual Webpart
I am having issues with the onClick event on LinkButtons (possibly all controls). These are not working in a Visual web-part. I am writing for SharePoint 2010.
Simple example of what I am doing:
...
0
votes
1
answer
1k
views
Which outofbox webpart shld be used to show an image and redirect the image ?
I need to use any of the out of the box webpart ,
my requirement is , the webpart consist of an image and it shld redirect to a page .
2
votes
2
answers
2k
views
SSRS ReportViewerWebPart Height Issue
I am working with a customized page that has an embedded ReportViewerWebPart inside of a content tag. In this case, it's inside of "PlaceHolderMain".
It looks like this:
<asp:Content ...
0
votes
4
answers
1k
views
Redirection using Content editor Webpart
Whenever i try to open a site , i want page to redirect to some other page .
So , i have added a javascript to redirect using the content editor on my page .
Now i want to edit the code added to ...
2
votes
2
answers
2k
views
When to use application pages (aspx) versus web parts?
I'm struggling with this question at the moment...
Basically I'm pulling a set of data out of a DB table related to our LOB application, listing it, and then want to click through from this list to ...
0
votes
3
answers
774
views
Filter webpart on the Search Page
Basically, I am Sharepoint administrator and my bad time have to create/introduce a Filter webpart on the search page
Expectations are
I have a custom List with 10+ columns (like CustomerID, Country,...
0
votes
1
answer
676
views
Office Web Components 11 in SP2010
Can somebody confirm me is it possible to use owc 11 in SharePoint 2010?!
I use owc chart control, and in my other project(asp.net web app) I can use owc without problems. In SP 2010 I can build and ...
5
votes
2
answers
5k
views
SharePoint 2010 RSS Viewer Web Part Fails to Load
Has anyone seen occurrences of the SharePoint 2010 RSS Viewer web part failing to complete loading when the page loads, instead remaining in constant "loading" mode with the Ajax indicator showing? I'...
1
vote
2
answers
426
views
Can you run a 32bit compiled webpart in 64bit SharePoint?
I have a webpart which needs to use a native 32bit DLL for data access (the dll is Advantage.Data.Provider, for the Advantage Database Server DBMS.) As such I'm pretty sure I need to compile it as ...
6
votes
2
answers
1k
views
Location of web parts in use
After running preupgrade check, I found a few instances of some web parts I'd like to further investigate. These are 3rd party web parts that I'd like to know where they are actually being used.
For ...
1
vote
1
answer
119
views
Multiple visual WebPart
i have created a sharepoint 2010 project, under this project i want to add multiple visual
webparts but i want to deploy just one not all.
it'is possible ? and how
thx
1
vote
1
answer
1k
views
Change Display Mode of SharePoint Page based on edit Control Panel
I have a custom web part which shows a different interface when in edit mode.
When in edit mode the default control panel displays on the right. When the user clicks OK, Cancel or Apply the web part ...
1
vote
1
answer
3k
views
Add gradient background color to list view rows with jQuery
In SharePoint 2007 using Content Types and editting NewForm.aspx with jQuery I've managed to customize the look of a new item, adding a gradient color identity for each Content Type. I want to ...
0
votes
1
answer
268
views
Quick Links not showing in custom Master Page on Web Part page
I have created a new custom master page & I've got everything working (including showing the QuickLinks on the left on default.aspx & any "built in" SharePoint pages, such as "Shared Documents"...
1
vote
1
answer
649
views
Using a Java applet in a custom web part
I have a need to integrate a third-party Java applet into a custom web part I wrote. The web part simply loads a user control I created that contains the bulk of the functionality. I added the applet ...
2
votes
1
answer
761
views
Why are controls being lost on postback?
I am having a really frustrating time with this. I have tried starting from scratch with a new project even, and still it happens. Basically, I have a webpart, with a label and a button in it. When ...
0
votes
1
answer
3k
views
Use SP 2010 XLV web part to aggregate multiple lists
I have a site collection containing sites with the same list template called Tasks. I want to aggregate all the active tasks and display them at the top level site. I think the XSLT List View Web ...
0
votes
4
answers
2k
views
Breadcrumb in List and Libraries WebPart
Is there a way to enable breadcrumb for a list webpart? I am talking about the OOB webpart where you can view all the folders and documents of a list within a webpart.
1
vote
1
answer
883
views
sorting and paging on web part
sorting in dataviewwebpart only sorting within display items. Paging is enabled to display 10 items per page. Also, How do I put 1,2,3,4,5,6,7,8,9,10, (next, previous) for the paging?
They give you ...
7
votes
2
answers
34k
views
Get a list of the webparts on a page
Is there somewhere you can view a list of all webparts embedded on a specific page?
I have taken over development of a SharePoint website and some pages have a ton of webparts, and I have no way of ...
1
vote
1
answer
1k
views
How to add columns to the User Tasks Web Part?
I want to add some columns to the User Tasks Web Part. I use WSS 3.0.
Is it possible to add them?