I have created a Editor descriptor for Hide and show CMS property. But i am facing a challange when i am using this editor descriptor in inline block.
Like i have Model1 and Model2, Model2 is using as a inline block in model1.
public virtual Model2 property1{ get; set; }
In Model 2, I have drop down property selectType and Range as Text field. When i will select from selectType as Range option then Range text property should visible on page reload.
Hi,
I have created a Editor descriptor for Hide and show CMS property. But i am facing a challange when i am using this editor descriptor in inline block.
Like i have Model1 and Model2, Model2 is using as a inline block in model1.
public virtual Model2 property1{ get; set; }In Model 2, I have drop down property selectType and Range as Text field. When i will select from selectType as Range option then Range text property should visible on page reload.
[ReloadOnChange][SelectOne(SelectionFactoryType = typeof(Model2TypeSelectionFactory))]public virtual string SelectType { get; set; }And
[EditorDescriptor(EditorDescriptorType = typeof(Model2EditorDescriptor))]public virtual string Range { get; set; }Can you seggest what can i do for achieve this functionality?
Thanks,