Questions tagged [web-parts]

Web parts are are the building blocks of Microsoft SharePoint web pages.

1693 questions
4
votes
5 answers

laying out a form using c# for a webpart in sharepoint

I have created a webpart in c# for sharepoint. its basically a form with text boxes, literals, validators and buttons. im not sure how to render this form to make it look pretty. The layout etc is being done entirely within this c# class. At the…
raklos
  • 28,027
  • 60
  • 183
  • 301
4
votes
3 answers

SharePoint 2010: Redeploying feature adds duplicate web parts to page

I am provisioning a publishing page as part of a feature and placing a single list view web part on the page (see code below). This all works perfectly sp far.
user592501
4
votes
4 answers

How to call an external Javascript file from a webpart

I'm building a Web Part for SharePoint 2010 and I would like to add a simple modal. I've registered the external js script as follows: ScriptLink.Register(this.Page, "js/jquery-1.5.min.js", true); ScriptLink.Register(this.Page,…
Brian Roisentul
  • 4,590
  • 8
  • 53
  • 81
4
votes
2 answers

How to fix freezing page after file download?(TransmitFile in TreeView SelectedNodeChanged)

So I know that this is common problem, page freezes (any buttons visually are clickable but doesn't perform any action) because it doesn't close some request after file download. System.Web.HttpResponse response =…
HoTTab1CH
  • 199
  • 3
  • 20
4
votes
1 answer

Develop a custom editable Visual Web Part (WebPart) for SharePoint 2010

I want to develop a webpart that allows editors to amend its content using Sharepoint's Ribbon-based formatting controls, and then display that content in a nicely formatted way. The built-in content editor webpart isn't sufficient because I want to…
James McCormack
  • 9,217
  • 3
  • 47
  • 57
4
votes
4 answers

ITransformableFilterValues interface with two or more parameters [SharePoint WebParts]

I working with Sharepoint, and I try to connect web-parts with multiple parameters. My question is how do I pass more than one parameter from a custome web part to another. I am able to pass one parameter by implementing the…
gial
  • 41
  • 1
  • 2
4
votes
3 answers

Deactivating web part feature in sharepoint

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…
Dynde
  • 2,592
  • 4
  • 33
  • 56
4
votes
2 answers

Building webparts with Visual Studio 2010 Express

I'm trying to get started with building my own webparts, planning to follow this MSDN article. I've downloaded Visual C# 2010 Express - I'm not quite at the point where I feel comfortable dropping 1000 big ones yet, and I installed Visual Web…
MalphasWats
  • 3,255
  • 6
  • 34
  • 40
4
votes
1 answer

How to apply multiple filters to sharepoint list

I have sharepoint list with several columns - month, year and some custom data. I want to provide 2 dropdowns to allow user select month and year to filter rows. I added "Choice Filter" webpart for month and set connection to list (this works). I…
Juraj Hajek
  • 41
  • 1
  • 1
  • 2
4
votes
2 answers

Passing Multiple parameters from Custom WebPart to Reporting services Report Viewer webpart

I working with Reporting services in Sharepoint Mode, I am able to show the report in Sql Server Reporting services report viewer , the report has multiple parameters , My question is how do I pass more than one parameter from a custom web part to…
citigov
  • 101
  • 2
  • 6
4
votes
4 answers

Good articles for Sharepoint Web Part creation?

Does anyone know of any good basic articles for creating Sharepoint Web Parts. I have found a couple, but most of them jumped in a little quick. Thanks.
Ryan Smith
  • 8,344
  • 22
  • 76
  • 103
4
votes
1 answer

Retrieve SharePoint List Data and bind this to a dropdownlist

I'm fairly new to SharePoint so apologies in advance for sounding like a 'Newbie'. I have created a simple Webpart, which uses a Web User Control - [.ascx file] to provide all the controls for the Webpart. On the .ascx file, there is a DropDownList…
user177049
4
votes
3 answers

Popularity of MVP for SharePoint WebParts

Is it a popular techinque to use the Model View Presenter (MVP) design pattern when creating Web Parts for SharePoint? It seems (to me) that this pattern is applied more often in the custom application space. So, if you have any thoughts on this,…
9b5b
  • 1,508
  • 11
  • 20
4
votes
1 answer

How to display a specific folder in a document library (within a webpart in Sharepoint 2010)?

I have seen examples doing this with Page Viewer, which works. But the problem is page viewer is so slow (it adds at least 10 seconds to page load, and it freezes for another 15 when I click on it before it starts acting like a folder). I am sure…
Isa
  • 271
  • 1
  • 6
  • 16
4
votes
2 answers

Retrieve a list of web parts on a page

I am trying to get a list of webparts deployed on a web page in sharepoint 3.0. Is there way I can retrieve it from sharepoint content database or can I do it programmatically?
user184568