Questions tagged [web-parts]

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

1693 questions
5
votes
2 answers

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…
Kelly S. French
  • 12,198
  • 10
  • 63
  • 93
5
votes
1 answer

Get Current SPWeb From Web Part

I'm working on a WebPart, to be used in SharePoint, that will display a listing of documents within a document library. To do so, I believe I need to reference the SPWeb object for which the web part is hosted on. Unfortunately, I don't see how to…
senfo
  • 28,488
  • 15
  • 76
  • 106
5
votes
2 answers

How to license a sharepoint solution?

Let's assume that you've created a SharePoint solution - a WebPart, a feature for a List Template, whatever - that you are planning to sell as a product. How would you go about handling licensing of your solution? I'm looking for some input in at…
SaguiItay
  • 2,145
  • 1
  • 18
  • 40
5
votes
3 answers

Are ASP.NET Web Parts a viable technology for implementing a portal architecture

Web parts seem to be used extensively in Sharepoint related development, but examples of using them in asp.net webforms applications are few and far between. I'm implementing a domain specific portal framework and like the "widgetlike"…
briangraf
  • 178
  • 2
  • 14
5
votes
3 answers

How to create a dashboard user interface using ASP.NET MVC?

I am currently building an application using ASP.NET MVC. The data entry pages are fairly easy to code, I just make the Model for the page of the type of my business object: namespace MyNameSpace.Web.Views.ProjectEdit { public partial class…
mattruma
  • 16,589
  • 32
  • 107
  • 171
5
votes
2 answers

Using Entity Framework as a Web Part's Data Source in Sharepoint 2010

I have a very simple web part. I have a single grid view, which I am populating using linq to entities (or at least that's what I want to do). The Entity Data Model .edmx file is located in the same project as the web part, and everything looks to…
Ryan Hayes
  • 5,290
  • 4
  • 42
  • 52
5
votes
2 answers

Maximum number of web parts/web part zones per page? (Microsoft SharePoint 2007)

I've already found the max number of web parts per page: Customizable - in web.config file, 50 (default) - http://technet.microsoft.com/en-us/library/cc262787.aspx 100 (recommended max)…
Kache
  • 15,647
  • 12
  • 51
  • 79
5
votes
1 answer

Sharepoint Webpart Properties / Rich text box?

Is it possible to make a String in a web part properties editable with a rich text box (to be able to use the Bold, etc.) ? UPDATE / SOLUTION The 1st class is the "Custom property" that should appear in the toolbar using System; using…
tinky05
  • 250
  • 5
  • 13
5
votes
1 answer

SharePoint 2013 Updatepanel Idle

I have implemented AJAX update panel on my SharePoint visual web part. The web part contains two dropdownlists and and a grid surrounded by update panel. The page is working fine in Chrome/Safari/IE until I leave the page idle for a while. The page…
razeth01
  • 638
  • 2
  • 11
  • 25
5
votes
2 answers

Sharepoint WebParts

Say you have several webparts, one as a controller and several which take information from the controller and act on it. This is fairly easy to model using the Consumer/Producer interface introduced in ASP 2.0. How would you be able to add…
Gordon Thompson
  • 4,764
  • 8
  • 48
  • 62
5
votes
5 answers

Sharepoint find where webpart is in use

Is it possible to analyse on which pages a webpart is in use? I want to remove some webparts from my sharepoint server, but i don't know what's in use and what's not in use? Is there a solution for it? Im current using moss2007
Active_t
  • 177
  • 1
  • 5
  • 16
5
votes
4 answers

Displaying the current authenticated Sharepoint user from an asp.net Page Viewer Web Part

I am creating a standalone asp.net page that needs to be embedded into a sharepoint site using the Page Viewer Web Part. The asp.net page is published to the same server on a different port, giving me the URL to embed. The requirement is that after…
BenB
  • 10,300
  • 7
  • 32
  • 30
4
votes
1 answer

Setting the DisplayFormURL of a CalendarView item, SPCalendarView control

Background: I have a WebPart that makes use of the SPCalendarView control and in it I add items (events) dynamically from different Calendar lists from multiple sites. Problem: I need to be able to see the DisplayFormUrl dynamically as well:…
anpatel
  • 1,952
  • 4
  • 19
  • 36
4
votes
1 answer

Passing parameters through sharepoint sitepage to web part

So I'm building sharepoint pages that are consisted of web parts. I need to send parameter to a page, and that send it further to these web parts, and I have no idea how to do this...
Frane Novakovic
  • 55
  • 1
  • 2
  • 6
4
votes
8 answers

SharePoint list webpart connections option not visible

I want to connect two list webparts. The problem is that when I go to "Edit Web Part -> Connections" this option "Connections" doesn't apperar. Searching on google found this:…
Lukas
  • 41
  • 1
  • 1
  • 2