Copying reports

2 posts, 0 answers
  1. Joel
    Joel avatar
    165 posts
    Member since:
    Oct 2006

    Posted 22 Jun 2012 Link to this post

    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"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"report2" fixes the problems.

    Neither are deal breakers as they are easy to work around, just thought I would raise them.
  2. Steve
    Steve avatar
    10941 posts

    Posted 26 Jun 2012 Link to this post

    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.

    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 >>

  3. DevCraft R3 2016 release webinar banner
Back to Top