I am trying to use DNN's PropertyEditorControl in my module to allow users to edit values for a custom object. I used the ProfilePropertyDefinition class as Guide as to how to use & control the Editor's display of the object properties.
However, I am having some problems. One of my Property is of "Double" type. It shows correctly in the Editor. However, after the user updates it, and presses "Next", I am always getting an Exception, which says "Cannot convert from System.String to System.Double".
I cannot understand this behaviour. When the same control is able to convert String to Integer (e.g. for ViewOrder property), why can't it convert it to Double. Am I missing something (like I need to put some Attribute on the property to guide the conversion)??
Please Help. This is really important as well as urgent.