ActiveReports for .NET 2.0 Visual Studio .NET 2005 Support

Started by donedee at 11-08-2005 8:40 PM. Topic has 3 replies.

Print Search
Sort Posts:    
   11-08-2005, 8:40 PM
donedee is not online. Last active: 11/10/2005 1:17:41 PM donedee

Top 500 Posts
Joined on 10-03-2003
Posts 27
this.XmlLayout

Hi,

After importing RPX/CS files used in .NET 1.1 into .NET 2.0 (VS2005), I noticed that the line in Initialization() changed from this.LoadLayout() into this.XmlLayout...and it embedded inline the entire contents of the RPX file as a string. 

I noticed that the .XmlLayout was generated by my double-clicking the RPX to open the code-behind. 

Prior to that, the call to LoadLayout() would not find the RPX no matter how it was referenced by my namespace and would generate runtime errors.  When the LoadLayout() call was replaced by .XmlLayout then it all worked. 

1) Is this the standard behavior from now on?  (Generation of .XmlLayout to replace .LoadLayout())

2) Does this make the RPX redundant for deployment?  Is this the reason for this--design on the RPX but deploy only the CS.

Thanks,
Jay




   Report 
   11-09-2005, 10:46 AM
rakeshjani is not online. Last active: 5/22/2007 2:14:29 AM rakeshjani

Top 50 Posts
Joined on 08-28-2004
Columbus,Ohio
Posts 362

DDStaff
Re: this.XmlLayout

Jay,

       Yes this is going to be the standard behavior from now on for the web projects. Reason why we did this was that it was hard to embed the resource in the web projects. Also if you see now we put the RPX file for the web projects in the app_code folder.

Also When ever you make change the RPX you need to deploy it again both the CS and the RPX. Also it gets created whenever when you add a new report to the web project.


Rakesh Jani

   Report 
   11-10-2005, 1:04 PM
donedee is not online. Last active: 11/10/2005 1:17:41 PM donedee

Top 500 Posts
Joined on 10-03-2003
Posts 27
Re: this.XmlLayout
Thank you for your response..

If that's the case, will end users still be able to modify/update the report? 

I gather it's now harder to make simple tweaks to the report by editing the RPX; this will now require the end user to have to use the End-User-Designer tool to make sure that the XmlLayout property stays in sync with the RPX...

Am I understanding this correctly?

Thanks,
Jay
   Report 
   11-15-2005, 12:49 PM
Trent is not online. Last active: 8/24/2007 7:16:29 PM Trent

Top 10 Posts
Joined on 08-28-2004
Posts 2,623
Re: this.XmlLayout
If the reports are not in the App_Code folder the users will still be able to update the RPX file.  But by not having the report in the App_Code folder there will not be an associated code-behind file.
   Report 
GrapeCity » Forum Archives » ActiveReports f... » this.XmlLayout

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