| |
|

ActiveReports for .NET 2.0 Support
Started by Ali - DD at 09-07-2006 4:25 AM. Topic has 22 replies.
 
 
 
|
|
Sort Posts:
|
|
|
|
09-07-2006, 4:25 AM
|
Ali - DD
Joined on 08-02-2004
Canada
Posts 2,278

|
Re: Problem with webviewer control: corrupt data and formatting error
|
|
|
|
|
I've downloaed this sample and will do my best to find out what exactly is wrong here. I've asked the developer to post a clarification as my post was based on his comment in the CR but everybody is extremely busy here working on the hotfix /service pack. I will study this sample and if there is a problem, I will enter a CR.
Data Dynamics Support Staff
|
|
|
|
|
Report
|
|
|
|
09-07-2006, 4:43 AM
|
warnestam
Joined on 04-07-2006
Sweden
Posts 34
|
Re: Problem with webviewer control: corrupt data and formatting error
|
|
|
|
|
Ali - DD wrote: | I've downloaed this sample and will do my best to find out what exactly is wrong here. I've asked the developer to post a clarification as my post was based on his comment in the CR but everybody is extremely busy here working on the hotfix /service pack. I will study this sample and if there is a problem, I will enter a CR.
|
|
There is always something more important to do... But I still hopes that you can find and fix the problem.
Regards
|
|
|
|
|
Report
|
|
|
|
09-20-2006, 8:11 AM
|
warnestam
Joined on 04-07-2006
Sweden
Posts 34
|
Re: Problem with webviewer control: corrupt data and formatting error
|
|
|
|
|
warnestam wrote: |
Ali - DD wrote: | I've downloaed this sample and will do my best to find out what exactly is wrong here. I've asked the developer to post a clarification as my post was based on his comment in the CR but everybody is extremely busy here working on the hotfix /service pack. I will study this sample and if there is a problem, I will enter a CR.
|
|
There is always something more important to do... But I still hopes that you can find and fix the problem.
Regards
|
|
Ali,
Please Ali what is going on. I stated my problem for several months ago and there is still no solution. I even don't know if your developers is trying to fix this error. Again, this is a serious problem/error when the report uses data from wrong fields/properties.
Is there a faster way for us to get help with this problem? Do you have a product where your source code is available?
Regards
|
|
|
|
|
Report
|
|
|
|
09-20-2006, 3:58 PM
|
warnestam
Joined on 04-07-2006
Sweden
Posts 34
|
Re: Problem with webviewer control: corrupt data and formatting error
|
|
|
|
|
|
After more searching I found this in another thread:
"One of the many subtle changes between .net v1.1 and v2 is that the Type.GetX() methods are no longer guaranteed to return their array elements in the same order. Unfortunately the ListDataSource relies on this behaviour as it calls GetProperties() many times during its lifetime. This causes my reports to randomly move data all over the place and usually throw an exception as it attempts to force strings into check boxes and format booleans as datetimes.". See thread http://www.datadynamics.com/forums/90567/ShowPost.aspx
With this thread in mind I inserted the following line with a breakpoint just to study in which my properties arrives to the report.
// Retrieve the first object in my data
List<MyObject> data = (List<MyObject>) this.DataSource; MyObject o = data[0]; // Check in which order the properties exists in the info array System.Reflection.PropertyInfo[] info = o.GetType().GetProperties(); // Breakpoint her. By the way - it's 106 public properties!
Guess what! The order of the properties changes occansional!!! If this is the reason to my problem then there is a big chanse that all reports that is using .Net objects will have reports that occasional shows the wrong information. If it comes to the worst the data that the end-uses sees is confidentially.
Come on someone at Data Dynamics, someone must come up with a solution or explanation to this...
|
|
|
|
|
Report
|
|
|
|
09-25-2006, 3:41 AM
|
warnestam
Joined on 04-07-2006
Sweden
Posts 34
|
Re: Problem with webviewer control: corrupt data and formatting error
|
|
|
|
|
|
Thanks, I'll look forward to the next SP.
Meanwhile we have already changed are reports to be unbound.
|
|
|
|
|
Report
|
|
|
|
|
|
Page 2 of 2 (23 items)
|
< 1 2 |
|
|
|
GrapeCity » Product Support » ActiveReports f... » Problem with webviewer control: corrupt data and formatting error
|
|
|
|
|