Problem using DateTimeOffSet in BussinessObjects
Posted: Tue Nov 12, 2013 8:19 pm
Hello.
I'm having some problems using a DateTimeOffSet property in a BussinessObjects, and trying to compile the report.
When I register my object in report's dictionary, and I look inside it, it is a DateTimeOffSet, so ok.
But in designer's dictionary tree it is shown as Object.
And the same happens when I send it back to the server, and I try to look inside the dictionary.
So the problem is that, if my report have some code like:
and I try to compile my report in server side:
I get an error saying that Object does not contains a ToString(string) overload.
Thank you.
I'm having some problems using a DateTimeOffSet property in a BussinessObjects, and trying to compile the report.
When I register my object in report's dictionary, and I look inside it, it is a DateTimeOffSet, so ok.
But in designer's dictionary tree it is shown as Object.
And the same happens when I send it back to the server, and I try to look inside the dictionary.
So the problem is that, if my report have some code like:
Code: Select all
Person.Birthdate.ToString("yyyy-MM-dd");
Code: Select all
report.Compile("AnyPath...");
Thank you.