您的位置:首页 > 其它

When we need to inherit from WSS WebPart class?

2008-06-05 10:22 537 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐