ActiveReports Developers 7 Now Available in Beta!! (click for details)

ActiveReports for .NET 2.0 Support

Started by Ali - DD at 09-07-2006 4:25 AM. Topic has 22 replies.

Print Search Rate
Sort Posts:    
   09-07-2006, 4:25 AM
Ali - DD is not online. Last active: 7/10/2008 10:34:56 PM Ali - DD

Top 10 Posts
Joined on 08-02-2004
Canada
Posts 2,278

DDStaff
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 is not online. Last active: 8/1/2011 10:03:52 PM warnestam

Top 500 Posts
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-07-2006, 5:02 AM
warnestam is not online. Last active: 8/1/2011 10:03:52 PM warnestam

Top 500 Posts
Joined on 04-07-2006
Sweden
Posts 34
Re: Problem with webviewer control: corrupt data and formatting error

This thread had initally two question where one was fixed when I updated my ActiveReports with SP2. In the updated sample from DataDynamics the version where changed from 2.0 to 3.0. This is the minor problem but I still wants to state that the viewer now again has text outside it. (version 5.0.0.117)


   Report 
   09-07-2006, 5:35 AM
warnestam is not online. Last active: 8/1/2011 10:03:52 PM warnestam

Top 500 Posts
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.

If you have problem to regenerate the problem with the sample, try to change the order of which the reports are build. I've exprienced that the problem occurs more frequent when reversing the order.

if (!IsPostBack)
{
   GetDataGeneric();
   GetData();
}


   Report 
   09-20-2006, 8:11 AM
warnestam is not online. Last active: 8/1/2011 10:03:52 PM warnestam

Top 500 Posts
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 is not online. Last active: 8/1/2011 10:03:52 PM warnestam

Top 500 Posts
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-22-2006, 12:58 PM
Ali - DD is not online. Last active: 7/10/2008 10:34:56 PM Ali - DD

Top 10 Posts
Joined on 08-02-2004
Canada
Posts 2,278

DDStaff
Re: Problem with webviewer control: corrupt data and formatting error

Warnestam,
One of our developers has found a fix for this problem and it will be included in a hotfix for version 3 to follow SP1 and in the final service pack for ActiveReport for .NET version 2. Work on this service pack will start right after releasing SP1 for version 3.


Data Dynamics Support Staff
   Report 
   09-25-2006, 3:41 AM
warnestam is not online. Last active: 8/1/2011 10:03:52 PM warnestam

Top 500 Posts
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

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.