Hide editor options for custom property type

Vote:
 
I have created a custom property type which has PropertyDataType.LongString as Type. This seems to trigger the page type property editor to show the editor options, which have no use for my custom property type. Can I prevent this section from showing in the add/edit property page?
#29559
May 05, 2009 11:26
Vote:
 

It's the EPiServer.Web.WebControls.InputEditorOptions that renders the checkboxes.

 It does a foreach on the EditoToolOption enum. I guess you could try making your own implementation overrideing the CreateChildControls. Then either use it directly in the Admin\EditPageTypeField.aspx or make your own version and use virtualpathmappings to use your version.

Or make your own version of EditPageTypefield override the onload and use virtualpathmappings to use your version. it's in the onload that the hiding/display of the editoroptioncheckboxes are made.

 /Per

 

#29565
May 05, 2009 14:51
Vote:
 
Thank you for the plentiful information. I thought it would be easier though :) I'll probably leave it be.
#29568
May 05, 2009 21:37
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.