This is a migrated thread and some comments may be shown as answers.

Copying reports

1 Answer 162 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 2
Joel asked on 22 Jun 2012, 04:35 PM
I have always gotten around this, but keep meaning to post it as i found an additional quirk while working with tables recently.

1.  When copying an existing report.  (Report1, then copy via visual studio, then rename to report2), it never renames the class in the code behind to report2, causing an error.  Not a big deal, just curious if there was a reason, or if it was sort of a bug.  Not something new in Q1 2012, it's been doing it for a long time.

2.  Never noticed this before Q1, but never worked with tables before Q1 either.  When following same copy procedure as above, in report.designer.vb, the me.name="report1" does not change.  An error is then shown in runtime (not in VS) that table1 is a duplicate or something along those lines.  changing me.name="report2" fixes the problems.

Neither are deal breakers as they are easy to work around, just thought I would raise them.

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 26 Jun 2012, 10:52 AM
Hello Joel,

Up to your questions:
  1. This behavior is inherent to the Visual Studio designer and if you create a windows forms application and copy a windows form, you would observe the same problem.
  2. We do not understand how this is related to the table. Me.Name is the name of the report and it should be changed as well with the other class changes needed for #1. The table item, being a data item, must have unique name per report i.e. you can have multiple reports with the same name of the Table item.

Regards,
Steve
the Telerik team

FREE WEBINAR ON THE NEW REPORT DESIGNER! Join us on Friday, June 29 at 10:00 AM PST for a comprehensive demo of the official version of the standalone Report Designer and find out how easy it is to empower your users with creating, editing and sharing ad-hoc reports. You may even win a free Telerik Ultimate Collection license! Register today >>

Tags
General Discussions
Asked by
Joel
Top achievements
Rank 2
Answers by
Steve
Telerik team
Share this question
or