London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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
Oct 15, 2007 12:31
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
Oct 16, 2007 9:35
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.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.