webparts

Inherit existing web parts and override methods

When developing web parts in SharePoint can I inherit from the existing web parts and override their methods? Or do I always need to start from scratch. Many Thanks ...

java webpart like asp.net ?

I was reading asp.net webpart technology which gives users some personalization abilities under some rules and tools of webparts. are there something like webpart technology lib under java ? ...

What's your experience with using ASP.NET 2.0 webparts?

I would like to know your experience with ASP.NET webparts as a reusable component in your website. How useful did you find it? Did you find any serious issues with it? Would you recommend it using in any asp.net project? Any best practices or tips you would like to highlight with respect to this. Would you recommend using webparts ...

Microsoft Office Web Components IE Security Issue

I am displaying Microsoft Office Web Components (Microsoft Data Access Controls) on my Sharepoint site. Clients need to enable "Access Data Sources Across Domains" in IE in order to view the page. Unfortunately, clients cannot modify their IE settings. Is there anyway I can get these components to display? ...

Can Web Parts in Sharepoint be moved outside of edit mode using drag & drop?

Hi, I'm wondering if anyone has implemented an iGoogle/netvibes drag&drop interface in the normal view mode of a Sharepoint 2007 Web Part page? I would preferably want to use the drag & drop functionality that already exists in the edit mode if possible since this comes with Sharepoint, but I want this to be available in the normal vi...

SharePoint WebPart Packages and dlls

Hi I have a SharePoint WebPart project in visual studio. As part of the project I am referencing the interop.ActiveDS.dll. I can compile the project successfully and add/deploy the solution to SharePoint. When I try to run the WebPart in SharePoint I get the error: That assembly does not allow partially trusted callers. [SecurityExce...

Sharepoint web part stops working because of Resources.en-US.resx file

I've been developing a Sharepoint web part, which had been working fine upon deployment. The web part has been developed with WSP Builder, packaged up and then deployed via stsadm. The web part has been deployed tens, if not a hundred times to the dev box with no problems. Now, the web part throws an error which breaks the page it's o...

Webparts compatible with "Provide Data to" webpart connection

I am using the out of the box list viewer webpart to display a list and provide data to other webparts. I see that in the webpart connections menu, there is an option called "Provide Data to" which is always grayed out. Are there any out-of-the-box webparts that are compatible with this kind of connection? ...

SharePoint Web Part Parameters Mysteriously Disappearing

Ok I've got a weird one, I have a SharePoint WebPart in WSS 3.0 right now that's querying Yahoo Traffic's REST interface using VB.NET and the HttpWebRequest object. However I kept getting an error message from Yahoo that was saying I'm unauthorized, upon further examination, I noticed it's passing the following URL to yahoo: http://loca...

How to programmatically update content in a SharePoint Web Part?

Does anybody know how to programmatically update the content of any of the standard SharePoint v3 Web Parts? As an example, put a Link Summary Web Part on a page. Add some links to it. Now, how can I update this information using the WSS API? I have not found any direct way to do this, my only idea so far is to export the Web Part, (th...

Best practice - MOSS 07 and Javascript Files?

What are the suggested methods for using javascript files with MOSS 2007 ? in the 12 Hive somewhere or directly in the site's virtual directory in a scripts directory ? Or possibly as a embedded resource in a webpart ? ...

MOSS Web Solution Package breaks when moved

Hi I have moss .wsp that is installed on a single sharepoint server and works correctly when in preview mode. I have now moved the SharePoint site to another server and added/deployed the same .wsp but on this new server I get the following error when trying to preview the web part in the gallery: An error occured when previewing the ...

VB/ASP.NET Fire events across WebParts

First off, my Environment: VB.NET .NET 2.0 AJAX Update Panels also used around webpart zones. I have a masterpage and default page. Default page has WPM and two Zones. each webpart is just a shell and a usercontrol is used for A & B I have two webparts, A & B. (Usercontrols)- A has a number of buttons. B has a listbox & Subs which popul...

How to get all WebpartZones on a page in Sharepoint 2007?

Is there any way to get all WebPartZones on a given page in MOSS 2007? By iterating over all the Webparts it's possible to get zones with webparts in, but empty Zones won't be included then. Using SPLimitedWebPartManager to get all WebParts on a page. This needs to be done from a Layouts page. ...

Webpart Connections asp.net VB

Hi, Im having the following problem with vb.net asp.net webparts. Im trying to create a static connection between webparts but im running into a problem, namely: Could not find the connection provider Web Part with ID 'Ucl_Diary_Summary1' I have the following defined as my iterface: Public Interface IDiaryPartsProvider func...

Getting started with WebParts

Where I work the department has it's own intranet site (not sharepoint!) that is separate from the main company's. The main page is a jumble of over 150 different links grouped into about 20 categories. It's a real mess of a page. What I want to do is turn this page into a sitemap. I'll put all the links into a database that the site...

Web Part Deployed To GAC Not Working...

So, I inherited a VS project that has a bunch of web parts in it. The project had a key file with a password that no one knows what the password is. So, i created a new key file which obviously changes the PublicKeyToken... I thought deploying the new assembly to the GAC and replacing the old PublicKeyToken with the new one on the SafeC...

Sharepoint 2007 - read custom page field from webpart

Hi, How do I programatically read a custom page field from within a webpart (from the page the webpart is on)? Thanks Jon ...

Properly implement a webpart with postback?

What I'm trying to do is to create a webpart that has a textbox where you can set the value of a literal (h2) on the webpart and a "save" button that posts back and then sets the literal accordingly. This works with one huge caveat; when the page loads after the postback the literal has not been changed. However if I log what is actually...

Add web part to sharepoint page in aspx markup

I have an aspx page that get copied in the layouts directory of a Project Server instalation. The aspx is a web part page that has a web part zone. How can I add a web part in the markup of the page, within the web part zone? ...