EpiServer checkbox does not retain state

 

Hi,

 

We are checking a checkbox in-built in EpiServer 4.61 & it does not retain its state.

 Thanks,

Amit

#29191 Apr 14, 2009 18:45
  • pappabj0rn
    Member since: 2007
     
    Could you please provide more information about how and where? Like for example, is it a property on a page or a dynamic property? Does it get unchecked as soon as you save or when you go back to check its value?
    #29198 Apr 15, 2009 9:34
  • Per Nergård
    Member since: 2007
     

    If's in edit mode, is it the "Mark page as changed"? If thats the case its the standard behaviour.

    #29224 Apr 16, 2009 13:21
  •  

    Hi,

    Yes, It is a dynamic property. While in Edit mode, we check the checkbox & click on Save button. After saving, the message appears as "Dynamic property have been saved". However, after viewing the dynamic property again, the checkbox appears to be unchecked.

    Please let us know if this is the standard behaviour or not.

    Thanks,

    Amit

    #29317 Apr 21, 2009 5:42
  • pappabj0rn
    Member since: 2007
     

    The checkbox should still be checked; that's assuming you have a property of type "selected/not selected". If you are referring to the checkbox to the left of the property name, that will be cleared (it's only used when saving dynamic properties to control if child page's dynamic property should be cleared or not).

    What value does the dynamic property have  when you check the page? Just add a episerver:property in the template to check.

    <episerver:property propertyname="name_of_dynamic_property" runat="Server"/>

    #29379 Apr 23, 2009 13:29