Mitchel's Forums

Subject: Urgent: Using DNN's PropertyEditorControl in custom modules
Prev Next
You are not authorized to post a reply.

AuthorMessages
r_honeyUser is Offline
Regular User
Regular User
Posts:73

08/03/2008 1:28 PM  

 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.

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5607

08/04/2008 10:42 AM  
I am not sure on this one, i do not use the propery editor control.

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
You are not authorized to post a reply.
Forums >Development Discussion >DotNetNuke > Urgent: Using DNN's PropertyEditorControl in custom modules



ActiveForums 3.7