webparts

SharePoint 2010 list view style

Hi, In SharePoint 2010 for XSLT List View Web Part you can assign different styles using SharePoint Designer. For example "Basic Table", "Boxed" or "Shaded" etc. These styles just don't fit my needs. So my question is how can I create my own View Style which I can apply to any list? I came across "Customize XSLT > Customize Entire V...

Sharepoint 2010 WebPart: Users in Site Members Group can't save property of web part

I've created some custom property for my web part with Personalizable(PersonalizationScope.User) attribute. I changing this property in EditorPartClass in ApplyChanges() Method only. The main problem is user with contribute permission for a site can't save this property when editing personalized view of a page. Changing property applies ...

How to Create a custom Application Page with webparts for sharepoint in VS2010?

Hello, I am very new to Sharepoint, and I am not 100% sure if this is the correct way to do this bit here it goes. I have a very bare master page that I want to have a custom application page load up in. On that application page I want to have 2 web parts. I would like to be able to create and edit this application page inside of vs2010 ...

How to hide the list ribbon in XSLT List Web part in SharePoint 2010?

Hi, In SharePoint 2010, I have a custom list "Clients" on a site. On the home page of the site, I have added a Clients List Web Part. When I access the home page in a browser and click anywhere in that list, it displays the "List Tool" ribbon group which has "Items" and "List" ribbons. I do NOT want these ribbons at all when clicking o...

SelectedIndexChanged for DropDownList in ASP.NET firing in the wrong order

I've got the following DropDownList in my code that is firing in the wrong order: public class MyWebpart : WebPart { private DropDownList dropDown = new DropDownList(); private string selectedValue; public Webpart() { } protected override void OnInit(EventArgs e) { base.OnInit(e); dropDown....

Document library in WebPart?

There is any way to add Document library to (Visual) WebPart? I need to show files from file system and webPart which i need should looks like sharepoint document library. How could i reach the goal? ...

Alternative for portlets, webparts ?

I don't like webparts because of sharepoint and activeX, for java portlets they say that they are dead. So what alternative do I have ? I want to develop a portal made from parts/widgets/gadgets which can be independantly developed. I think iGoogle could be something that I nedd but I am not sure if this is true. Beside I can't use 3r...

i m using web parts in asp.net i have issue when i click desgn,catalog and properties mode?

The specified display mode is currently disabled on this page. Make sure personalization is enabled for the current user. Parameter name: value ...

How do I set up a choice column in Windows Sharepoint Services 3 SP2 that contains the date/time and user identity that selected a particular choice?

We are using WSS 3 SP2. I'd like to preface this by saying that while I have been programming for some time, I have not done any Sharepoint development before now, so I am very much a newbie in that respect. Basically what we have is a Sharepoint wiki that contains support documentation about each of the various applications throughout ...

Calling a custom WCF application from a SharePoint 2010 Web Part

All, I created a WCF application that interacts with data in a database. I also created a new visual web part that consumes it. I also created an ASP.NET application that calls the web part the exact way. The web part does not work, it gets the following message, however the ASP.NET application does work. Could not find default e...

Sharepoint 2010 media web part

Hello, i want to add vedio to my sharepoint 2010 site but i can't find the vedio and Audio web part can someone help? ...

How can I extend the OOTB Content Editor Web Part in Sharepoint 2010?

I need a webpart that has a plaintext field for a title, an image for a thumbnail and a HTML content-editable block, so I thought the best way to do this would be to try and extend the existing Content Editor Web Part. Unfortunately, the CEWP is marked as sealed so I can't subclass it. I've reflected and tried to recreate the functionali...

Deactivating web part feature in sharepoint

Hey guys. I've developed a web part using the wspbuilder tool (Web part with feature). When deployed (to a site collection), you have to activate the feature in order to use this web part - so far so good. However, when deactivating the feature, the web part remains on any site where it's been added, and furthermore, it's still availa...

Make a sharepoint webpart available only for specific users

I am developing a Sharepoint (2010) web part and I want to make it available only for specif users or groups pragmatically. Because I am a total beginner in Sharepoint development, I found some pieces of code around the Internets, but they give no clue about how or where to use that code from withing the web part itself. I need a simpl...

ASP.NET Webparts not keeping state after postback

I am working on a portal where the homepage has multiple webparts on the page. Each can be minimized & restored. The issue here is, once any one of the webparts are minimized and if user clicks on another webpart to minimize that one, the first webpart is now automatically restored. Also, if you navigate to another page and come back,...

How to make webpart properties customizable only by an Administrator

I am developing a sharepoint 2010 visual webpart that will show some sort of ajax content. I have a property on the webpart for the refresh rate, but I want this property to be set only by an Administrator (or any specific group). What is the best way to achieve this? Thank you. ...

Sharepoint 2010 - connection between custom webparts on different site pages.

Hello! I would be grateful if you could help me / hint me on the issue I'm struggling with at the moment. I try to implement connection (using custom connection interface) between 2 custom web parts on different pages, essentially a "master-detail" behaviour. If I add both web parts on the same page, they can be connected successfull...

Embedding page in sharepoint webpart

Hi, I need to create webpart in sharepoint 2010 which will allow me to view page from specific URL. I.E. I'd like to view http://google.com from this webpart. What's the simpliest way to accomplish that ? I'm totally novice to Sharepoint developement, I've just downloaded SDK and watched some screencasts about creating webparts. Also I...

Is it possible to edit the RSS Viewer in SharePoint 2007 using a Content Editor Web Part?

I need to make my RSS Viewer scroll vertically and I have the Javascript code working. I tried editing the .xsl in the RSS Viewer but it would not scroll. Is there a way to link the two web parts so I can edit the RSS Viewer using the Content Editor Web Part or is there a way to import the RSS data into the Content Editor Web Part? Th...

How do I make links open in parent frame using a Content Editor Web Part with iframes?

I need to have the links within my Content Editor Web Part open in the parent frame. The links are a part of the page the iframe is loading. I am editing the Home Page of the SharePoint site and cannot add a tag to the page. Here is my code: <div style="overflow:hidden; width: 800; height:200; position:absolute; left:-170px; top:0px...