现在的位置: 首页 > 综合 > 正文

When we need to inherit from WSS WebPart class?

2012年05月07日 ⁄ 综合 ⁄ 共 559字 ⁄ 字号 评论关闭
We all know the WSS 3.0 fully support the webpart whether derived from WSS WebPart class or ASP.NET 2.0 WebPart class. So, the question is when we need to use the WSS WebPart class as parent class.

The WSS WebPart class provide exclusively functionalities as below:

  • Cross page connections.
  • Connections between web parts that are outside of a web part zone
  • Client-side connections (Web Part Page Services Component)
  • A data caching infrastructures that allows caching to the content database

If you need the above functionalities, you should have your web part inherits from WSS WebPart class. otherwise, inherting from ASP.NET 2.0 Web Part class is a better choice

抱歉!评论已关闭.