制片人/消费者网站部分 [英] Producer / Consumer webparts

查看:100
本文介绍了制片人/消费者网站部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


认为我是SharePoint的新手。


我想了解SharePoint Producer和Consumer webpart是什么?


它是如何运作的?


我可能会在这里提出一个错误的问题,但让我详细说明这里可能有助于其他人了解我的情况要求。


在一个页面上我有两个webparts。我想从一个网站部分向另一个网站部分发送一些信息。


我们假设在一个网站部分中有一个文本框和另一个标签。


每当我在一个文本中更改文本时,其他webpart上的标签应显示TextBox中键入的内容。


希望这会有所帮助。让我知道如果我要求或看到或说错了。


提前致谢。

解决方案

< blockquote>

您好,


在SharePoint中,我们可以连接两个Web部件,一个作为Producer Web部件,另一个作为Consumer Web部件。


如果您想要实现Producer / Consumer Web部件,请参考以下文章并提供一些示例代码供您参考:


SharePoint中的已连接Web部件2010年 - 架构框架


http://www.dotnetcurry.com/sharepoint/678/connected-webparts-sharepoint-2010-architecture


如何实施消费者/生产者WebPart


http://www.matchpointcommunity.com/blog/Posts / 45 /如何实施消费者 - 生产者 - 网站部分


最好的问候,


Dennis


Hi,

consider me a newbie to SharePoint.

I want to understand what are SharePoint Producer and Consumer webpart is?

How does it work?

I may be asking a wrong question here but let me elaborate the situation here which might help others understand what I am asking for.

On a single page I have two webparts. I want to send some information from one webpart to another webpart.

Let's say in one webpart there is a Textbox and a Label in other.

Whenever I change the text in one, the label on other webpart should display what is typed in TextBox.

Hope this helps. Let me know If I am asking or seeing or saying it the wrong way.

Thanks in advance.

解决方案

Hi,

In SharePoint, we can connect two web parts, one as Producer web part and another as Consumer web part.

If you want to achieve Producer/Consumer web part, the following articles with some example code for your reference:

Connected Web Parts in SharePoint 2010 - an Architectural Framework

http://www.dotnetcurry.com/sharepoint/678/connected-webparts-sharepoint-2010-architecture

How to Implement a Consumer / Producer WebPart

http://www.matchpointcommunity.com/blog/Posts/45/how-to-implement-a-consumer--producer-webpart

Best Regards,

Dennis


这篇关于制片人/消费者网站部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆