Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

property is not changed (

Vote:
 

I hava a boolean property 

[CultureSpecific(true)]
[PageTypeProperty(Type = typeof (PropertyBoolean),
Searchable = false,
UniqueValuePerLanguage = false,
SortOrder = 240,
DefaultValue = true,
DefaultValueType = DefaultValueType.Value)]
[Display(GroupName = SubscriptionTab, Order = 240)]
public virtual bool EPSUBSCRIBE { get; set; }

 

When I try to set true, value still be null for this property/

What am I doing wrong?

#84895
Apr 08, 2014 23:23
Vote:
 

What do you mean with "Try to set a value"? Are you setting a value in code and after you have set the value, this is still null regardless if you set true or false? Or are you setting a value in the editorial interface and this is never saved?

#84900
Apr 09, 2014 8:23
Vote:
 

I try to check the ckeckbox for my boolen property. Property Name  is "SUBSCRIBE"

And after publishing page ckeckbox is unchecked - and SUBSCRIBE is false

 

 

#84903
Apr 09, 2014 8:45
Vote:
 

I see that you seem to use page type builder. Though this should work in EPiServer 7, I would strongly suggest that you use the built in system for typed models in EPiServer 7 that basically obsoletes the need for page type builder.

#84923
Apr 09, 2014 13:33
Vote:
 

Ok. Thank you for replay

#84934
Apr 09, 2014 16:20
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.