Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
In Umbraco 6.0 IContent.GetValue<int>(fieldName) throws error when numeric field is empty.
I dont know if its know issue are an bug has already been filed for this.
Thanks & Regards
Pinal Bhatt
Pinal - Have you tried using IContent.GetValue<Int?> instead?
Using <int> will always give an error if it's not empty due to casting issues.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
IContent.GetValue<int>(fieldName) throws error when numeric field is empty
Hi
In Umbraco 6.0 IContent.GetValue<int>(fieldName) throws error when numeric field is empty.
I dont know if its know issue are an bug has already been filed for this.
Thanks & Regards
Pinal Bhatt
Pinal - Have you tried using IContent.GetValue<Int?> instead?
Using <int> will always give an error if it's not empty due to casting issues.
is working on a reply...