webparts

Sharepoint page content aggregator for FAQ

Hi, I need to set up a FAQ with show/hide answers functionality all in one page. Answers should be rich text with image... like a page. My option to set up my FAQ as a site with pages for answers. Is the good way or should i use a list instead? If i opt for FAQ as a site, is it possible to aggregate site content into one page? How can i...

How to make a cross domain AJAX POST call from a Sharepoint Webpart?

I need to call a (HTTP) REST API as as POST call - basically, it allows me to post a message to a forum/community. Since, there is currently no way of authenticating over the API, I need to depend on browser cookies. ie, have the user logged in to the community and then use the API calls. This means, server proxies are ruled out. And b...

Controlling HTML from WebParts in Microsoft Dynamics AX

I have a website running in Microsoft SharePoint which uses menus and other data from Dynamics AX 4.0. I have a weblet in the website where I fetch a menu from Dynamics AX, which uses the WebMenuWebLet and WebVertMenuHTML classes to generate the HTML to be displayed on the page. I have now tried to strip everything from the weblet to rec...

How do I find the ID of a web part in SharePoint?

I have a web part that saves preferences to an external database because they are used by an outside program. One of the key fields for the preferences is the ID of the web part so each web part instance can have separate preferences. I'm working on an issue in the test farm with a set of preferences that generate an error on the Share...

Sharepoint 2010: How to access analytics data to create summary roll-up web parts?

I know there is a web analytics web part out of the box, but it isn't configurable and is limited to "most viewed" and "most searched terms". I want to display data like "most emailed" and "recently viewed" information too. Is there an API that exposes this data from the SharePoint 2010 analytics repository?? Many thanks! ...

ASP.NET WebParts and Google Chrome

Hi there I started learning ASP.NET these days. Google Chrome is my default browser and I'm also testing my applications in Google Chrome. I recognized that some Elements of ASP.NET won't run in real time when I use Chrome. For Example ASP.NET WebParts. If I change the modus of the WebPartManager from default to edit (or something else...

How to implement SP 2010 visual web part in MOSS 2007 site?

I have created a Visual web part for SP2010 site, What I need is to implement it into MOSS 2007 site. Does MOSS2007 support visual web part,and how to do this? ...

SharePoint Designer Deletes Web Part Connections Upon Saving Page

I have a custom ASPX page hosted on SharePoint with the following web part connection, from a PerformancePoint filter to a SSRS ReportViewWebPart: <WebPartPages:SPProxyWebPartManager id="pwpm_0d7e10d6dc8f4b00a8a0aeb2a354c814" runat="server"> <SPWebPartConnections> <WebPartPages:SPWebPartConnection ConsumerConnectionPointID="...

I have a html list item. When I drag and drop the item to the webpart zone , a image should load .

I have a html list item and image control on the webpart zone . I'm using jquery to drag and drop the item from the list.When I drag and drop the item from the list to the webpart zone , a image should load on the webpart zone. ? Plese let me know how to achive this . ...

Webpart broken after solution redeploy

I have deployed and then redeployed a .wsp on a Sharepoint 2010 server (the solution was developed on another 2010 server). The solution contains 2 web parts. After retracting and removing the old solution, I added and deployed the same solution again, with no errors. Afterwards, I deactivated and reactivated the feature installed thr...

Sharepoint 2010 - Visual Web Parts and Async WCF calls

I'm putting together a series of web parts for a Sharepoint 2010 deployment - a few upgrades (from 2007) as well as a few new ones. I'm attempting to develop all the parts to perform data access server-side via a WCF service (namely, WCF RIA Services in this case). Basic synchronous databinding works great (for example): SomeGrid.DataSo...

How to enable a WebPartDisplayMode

I am trying to add a webpart to page and I cannot get the "Edit" mode to enable. Only the browse mode is enabled. How do I enable Edit and Design modes? ...

Sharepoint 2010 register control as safe through wsp

I created a "Hello World" Sharepoint 2010 solution using VS2010. It contains just a feature, and a webpart containing a label. I registered the webpart as a safe control in the "Properties" window of the webpart, in VS2010. When I deploy my solution to my local server, everything works great! I can add the webpart to a page, and in the...

Can SharePoint be used to maintain employee forms?

We'd like to create something within SharePoint that would allow to ensure a set of forms is completed for each employee (i.e., Tax forms, non-compete, etc.). HR staff would have access to a page listing employees and upon selecting a specific employee, they would be shown a list of these completed forms which could be opened to view th...

Hiding/Showing custom verbs in web parts ?

Hi all I'm developing custom verbs for ASP.NET web parts. I created two verbs for maximizing/minimizing the web parts. I want to hide the minimize verb when the maximize one is clicked and vice versa. I use the following code: public void OnMaximize(object sender, WebPartEventArgs e) { if (isMaximize)//Maximize {...

sharepoint 2010: sandboxed webpart error

I was just tryng to create a simple webpart in visual studio 2010 (for sharepoint 2010) I created an empty sharepoint project, then added a webpart. I wrote a simple code (pasting it from a book with examples) I Build the project, then deploy it (without errors) Then when i go to the webpage where i want to add my webpart, i get this er...

Sharepoint 2010 add Note Board to Custom List

Is it possible to add a note board or other web parts to a Custom List? I would like to be able to have comments on list items. ...

Can Prism and ASP.NET Web Parts work together?

We are trying to pick a modular programming solution at my work. The choice right now is Prism or ASP.NET Web Parts. One Boss person asked if you could wrap a Prism Module in an ASP.NET Web Part so they can be used anywhere (kind of a "can I have my cake and eat it too" kind of question.) While I don't think this is a feasible solutio...

Token access to sharepoint Web service

Here is my problem, I have one webpart that will retrieve current username and its token, using this code: SPUser myUser = SPControl.GetContextWeb(Context).CurrentUser; This information will be forwarded to external system, that will invoke windows service to download a document in sharepoint using sharepoint webservice. The probl...

Create web parts for sharepoint

I saw 2 different way to create web parts for sharepoint. Which one is preferred by most? http://msdn.microsoft.com/en-us/library/aa973249%28office.12%29.aspx ...