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
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
相关文章推荐
- 使用paoding lucene分词 ,遇到java.lang.VerifyError: Cannot inherit from final class 问题
- Programming Basic--why we need to add ' extern "C" ' in C++ program when calling the function which is complied by C complier?
- Use C# to get JSON Data from the Web and Map it to .NET Class => Made Easy! 转
- Resolution to the record count increasing of the file exported from DB when ‘0A’ is included in it
- The source file is different from when the module was built. Would you like the debugger to use it anyway?
- I do not want to inherit the child opacity from the parent in CSS(不想让子元素继承父元素的透明度)
- Why do we need smart pointer and how to implement it.
- The Problem Came Up when we upgrade from KingDee K3 to SAP R3(FI module)
- HTTP POST Client 出现Cannot inherit from final class
- what is WLAN ? when and why we need use it ?
- Inherit from the Business Class Library's Class(从业务类库中的类继承)
- Caused by: java.lang.VerifyError: Cannot inherit from final class
- Model-View-Presenter: Why We Need It And The Basic Pattern (Introduction To CAB/SCSF Part 23)
- what is the virtual machine, when and why we need use it ?
- Qt Creator Debugging Helper crash when expanding a node of Class which inherit QObject directly
- SpingMVC registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the we
- moss2007 webpart custom property sample (2) [a simple one, inherit from .net framework webpart]
- tensorflow运行mnist出现TypeError: A Message class can only inherit from Message
- 使用httpClient的post发送数据时候错误:cannot inherit from final class
- How to Know When You’ve Made It(摘录自 work from passion)