SaaS CMS has officially launched! Learn more now.

Hide Start Publish



I want to remove the possibility to set the Start Publish for a page type.

It’s Possible?

Nov 09, 2009 9:09

I might be missing something here, but this might work:


Create a class that derives from PropertyDateControl and override the CreateEditControls or perhaps the SetupEditControl method. In this method, set Visible = false for the EditControl (or somehow disable it) IF the Name property equals "PageStartPublish" (or whatever it is). Then in your global class, use the Application_Start event handler to replace the PropertyDateControl with your derived class using PropertyControlClassFactory.Instance.RegisterClass.

Nov 09, 2009 11:08

I mean in admin mode, without change the code.


Nov 09, 2009 12:15
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.