We are checking a checkbox in-built in EpiServer 4.61 & it does not retain its state.
If's in edit mode, is it the "Mark page as changed"? If thats the case its the standard behaviour.
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.
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"/>