Questions tagged [webpart-connection]

16 questions
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
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
1
vote
1 answer

At which point in the lifecycle does GetConnectionInterface get called?

I have this method on a webpart: private IFilterData _filterData = null; [ConnectionConsumer("Filter Data Consumer")] public void GetConnectionInterface(IFilterData filterData) { _filterData = filterData; } Now, before I can call upon…
andrew
  • 2,235
  • 3
  • 18
  • 22
1
vote
1 answer

Creating custom WebPartZone inside a webpart

i have one Webpart which shows an image slider. The image slider will be added by getting image url from webpart toolpart . and i will bind image slider in webpart using this.controls.add() method. Here i need to allow users to add any webpart…
John
  • 81
  • 1
  • 1
  • 10
1
vote
0 answers

Sharepoint Filter Web Part Connection To Library Web Part

I have two web parts. The provider web part is a custom web part and the consumer a library web part. In the provider web part I filter multiple values. These multiple values shall I transfer to the consumer web part to limit the results documents…
1
vote
1 answer

Can a custom SharePoint 2013 web part act both as a consumer and a provider without the need for postback?

I am looking for a general method of implementing a web part that is both a consumer and a provider, without the need for an initial postback or redirect. I need to establish whether this is theoretically possible, and if so, what the mechanism…
cfwall
  • 431
  • 4
  • 8
1
vote
2 answers

Why is Insert > Related List not working in sharepoint 2013?

Hi I have got a few lists with Lookup fields from Source lists. I wish to have a Related lists (Webpart connections from 2007 days) where I select item from master and then child records are displayed. Although I have followed the instructions on…
Mayank
  • 11
  • 1
  • 3
0
votes
2 answers

Apply Web Part Connections to web parts on the ascx page of other web parts

I have created a visual web part that combines two other previously created web parts into one nicely styled web part. This is done simply by adding Register tags to the ascx page of the web part, and then adding the web part tags just as I would on…
Nacht
  • 3,342
  • 4
  • 26
  • 41
0
votes
0 answers

how the Webpart property pane with cascade with list and list views

I am working with a SPFX webpart to get SP list items under certain List view( all the columns those are enabled in that specific view. First need to get SP lists into webpart property pan (Dropdown) which is completed with help of below peace of…
0
votes
2 answers

Confirmation dialog for Cancel button in sharepoint webpart

hi i am creating a webpart. i have a custom toolpart for my webpart. there i'll type some text. when i click save it will print in sharepointpage. when an user click cancel in webpart's toolpart i need to ask confirmation dialog and if the user…
john
  • 121
  • 1
  • 3
  • 17
0
votes
1 answer

Same Webpart added multiple times on a Site page

I have 2 instances of same webpart deployed on same page. Webpart has a property named Network, which will take values Internal or External. Webpart1 is setup as internal. and Network on WebPart2 is setup as external. After adding webpart, on any…
Stackked
  • 3
  • 2
0
votes
1 answer

Multiple WebpartProviders to one single WebpartConsumer

According to the user Rhys in this post Sharepoint multiple connections to a web parts you need to configure your providers to point to a specific consumer method. How do i do said configuration to the providers?
0
votes
1 answer

SharePoint Business Data Web Part custom

I'm currently working on a SharePoint website linked to an SQL Server database. On one page, 1st part is a Business Data filter that sends information to the 2nd part, a Business data item, and the 3rd part, a Business data related list. You can see…
Pookye
  • 89
  • 1
  • 3
  • 13
0
votes
1 answer

Access denied runtime error when connecting a SharePoint custom filter web part to a list view web part

I make a custom filter web part using the example from MSDN (http://msdn.microsoft.com/en-us/library/bb457205.aspx). The custom web part is a provider and has selection buttons. Each button has multiple values attached to it when clicking on the…
PC.
  • 1
  • 1
0
votes
3 answers

What if you want webpart communication before Page_Load?

I am needing to create some dynamic controls at Page_Load in the consumer webpart. In the Provider webpart I did some hacking and got it so I could get a controls value before viewstate is loaded in Page_Init. So basically what I want is for…
Earlz
  • 62,085
  • 98
  • 303
  • 499
1
2