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

Design Preview Not Working

3 Answers 353 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Zack
Top achievements
Rank 1
Zack asked on 10 Jul 2013, 02:21 AM
I'm using the latest release - the designer will pull up for an instant, then close again.

Even though I save before previewing, after the designer closes there is an asterisk (*) displayed in the report's tab within Visual Studio.

The Error List has the following Message:

Message 39 You must rebuild your project for the changes to Core.Reports.Customers.CustomerSummaryReport to show up in any open designers. 0 0

I've cleaned and rebuilt the solution.

Using Visual Studio 2012, targeting .NET 4.0.

As per best practices, the report is hosted within its own assembly.

The report was working fine up until I added additional columns to a table within the report detail (increased from 3 to 5).

Any idea how to get this working again?

Thanks in advance,

Zack

3 Answers, 1 is accepted

Sort by
0
Ivan Hristov
Telerik team
answered on 11 Jul 2013, 02:57 PM
Hi Zack,

Seems that your report definition has messed up. You could take a look in designer.cs file and remove the added columns manually. The code adding a column to the table should look like this:
this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Cm(2D)));

The code defining a table column should look like this:
Telerik.Reporting.TableGroup tableGroup1 = new Telerik.Reporting.TableGroup();
.
.
.
tableGroup1.Name = "tableGroup";
tableGroup1.ReportItem = this.textBox9;
this.table1.ColumnGroups.Add(tableGroup1);

Please do not forget to create a backup before making changes to designer.cs file.

Regards,
Ivan Hristov
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

0
Brad
Top achievements
Rank 1
answered on 09 Dec 2013, 08:46 PM
I am having the same issue, except that I am attempting to use a sub report.  If I add a sub report item to my report and preview it, it works fine.  However, as soon as I configure the ReportSource to point to another report within my application, the preview begins to react as stated by the creator of this thread.  The Preview tab will begin to load, then jump right back to the Designer tab.  I haven't found any way of getting around it.
0
Nasko
Telerik team
answered on 12 Dec 2013, 03:48 PM
Hello Brad,

We have replied in your support ticket about the same issue. Since the described behavior is not reproducible at our end, we will need some additional information. Please check your support ticket and elaborate further on the issue there.

Regards,
Nasko
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

Tags
General Discussions
Asked by
Zack
Top achievements
Rank 1
Answers by
Ivan Hristov
Telerik team
Brad
Top achievements
Rank 1
Nasko
Telerik team
Share this question
or