23 Jul 2012
12 Dec 2012
Link to this post
I'm finding conflicting documentation and samples and am getting confused.
I have a custom module, and am creating a widget that will show master/detail pages for the content of the module.
If, in Visual Studio, if I add a "Sitefinity Widget with Designer", I end up with a class that inherits from ViewBase
When I look in the SDK and examine the RealEstate sample (whose "MasterListView" is very close to the functionality I require), MasterListView is inheriting from ViewBase, exposing some additional properties which I'm not sure if I need or not (eg "this.EvaluateUrl").
When I look in the online documentation for creating the master list view for the Products module (which also seems very close to what I require) at:
you have the class inheriting from "MasterViewBase".
First and most important: as a developer, where am I supposed to find out about the differences between these things? I have to say, I feel like I'm missing some piece of documentation or something. Is there an API map that can be printed out? I now have the API help file, but of course there is basically *no* added commentary to the classes.
Second, what is the difference between these classes? and why are the RealEstate masterpage and the Products masterpage inheriting from different base classes?