PageDefinitionTypePlugIn

Vote:
 
Hi I earlier versions of EpiServer when I have done custom type definitions I have done like this: 1. created a class file 2. Something like this: namespace MyNS { [Serializable] [PageDefinitionTypePlugIn] public class MyProp : PropertyString { public override void CreateChildControls(string renderType,System.Web.UI.Control container) { if(renderType=="edit") { // do something in edit state/mode } // the rest of the code } } } When I compile this stuff in CMS 5, the compilator tells me that: CreateChildControls is Obsolete ? How do I use this mechanism now ? Are there any good examples of doing this ?
#15825
Mar 25, 2008 19:07
Vote:
 
This is a good start: http://sdk.episerver.com/library/cms5/Developers%20Guide/How%20To/Create%20a%20Custom%20Property.htm and http://sdk.episerver.com has some other advise as well.
#16445
Mar 25, 2008 19:09
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.