I have added a few custom properties to Sitefinity users.
I have Modified Sitefinity/Admin/CmsAdmin/Users.aspx and I have added the properties to the web.config file.
One of the properties I have entered is an asp checkbox. Here is the code
<asp:CheckBox ID="RegistrationConfirmed" runat="server" />
This has been placed in <cc1:ManageProfile runat="server" ID="manageProfile" Mode="Edit"> in the Users.aspx file.
My problem is this
Before I added this checkbox to the Users.aspx file, there were already Users created. When I select one of these users, I get the following error:
String was not recognized as a valid Boolean.
This can be solved if I add the "RegistrationConfirmed" property to the dbo.telerik_UserMetaInfo table with a value of 0 or 1 in the Text column. I assume this prevents a NULL from been returned.
I don't want to have to enter property values to the telerik_UserMetaInfo table for every user that does not have this already assigned.
How do I provide a default value? ( I have already tried to add a defaultValue property to the property listed in the web.config file, it does not solve the problem)