开发者

Same Webpart added multiple times on a Site page

开发者 https://www.devze.com 2023-03-11 21:15 出处:网络
I have 2 instances of same webpart deployed on same page. Webpart has a property named Network, which will take value开发者_高级运维s Internal or External.

I have 2 instances of same webpart deployed on same page.

Webpart has a property named Network, which will take value开发者_高级运维s Internal or External.

Webpart1 is setup as internal. and Network on WebPart2 is setup as external.

After adding webpart, on any event on first webpart is working fine. Any event on Second Webpart shows Network value as Internal. It works fine if I remove the first webpart from the page.

Any ideas?


Share your code related to the Web Part Property in order to give a solution.

One possible scenario might be that the property or encapsulated field might have been declared as static in the web part source.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号