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

Can no longer go to design view

3 Answers 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Clifford Lane
Top achievements
Rank 1
Clifford Lane asked on 09 Mar 2010, 02:06 PM
I have Q2 2009 reports installed.  I had a request to modify one of the reports and am no longer able to move to design view on any report vb file.

I checked the DPI and it is set to 96dpi.  No update has been done and as far as I know nothing telerik related has been changed.

Any ideas why this is happening?  I created a new report and it too will not go to design view.

Cliff Lane

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 11 Mar 2010, 02:02 PM
Hi Clifford Lane,

There are two possible reasons for the described behavior:

  • if you had created a Report inside a WebSite. If this is the case as the best practices suggest - the most efficient way to structure your reporting solution is to first create a class library that contains your reports and then reference that class library in applications that view the reports.
  • If you had made changes to the InitializeComponent() method you may experience such a behavior due to the parser (CodeDomSerializer) that understands limited syntax and in general you should avoid writing code there - usually the designer generates the code inside for you.

Let me know whether the suggestions helped. If you need further assistance please send us a sample solution or at least elaborate more information on your case.


Regards,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Clifford Lane
Top achievements
Rank 1
answered on 16 Mar 2010, 11:12 PM
Peter:
Sorry for the delay in getting back - i have been onto other things.

I realize that reports should be placed in a library but they were not and I have not modifed the code.

Here is what has happened.

We use this appliation to print checks in two passes.  The first pass printes the mica font for the routing/acct# and check number at the bottom of the check and the check number in the upper right corner.  The secon pass prints the remainder of the check and a large stup with a form letter containing data elements.

The last time I was in to application was Jan when we printed checks.  I was asked to modify the date field content and location by the user so I opened the project and when I right click on the secondpass.vb report file I am nor presented with the option to view in designer.  I do notice that unlike a new report that I do place in the APP Data folder this 'repport' has three files the .vb file a designer.vb file and a .resx file.  For the new report in the app data folder there is only the .vb file but I can view this in the designer.

Cliff
0
Peter
Telerik team
answered on 19 Mar 2010, 02:35 PM
Hello Clifford Lane,

This is the expected behavior because the Web Site projects have several limitations when it comes to running a windows forms designer. Even when available the Report Designer may become unusable in a Web Site project after changes and Previews would never work.

My suggestion is to code directly in the designer.vb if you have to make small change in an already created App_Code Report. However if you need to create new reports or make bigger changes, then please make sure all of your reports are in a class library and you do not hold any in the App_Code folder of your web site.

Greetings,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Clifford Lane
Top achievements
Rank 1
Answers by
Peter
Telerik team
Clifford Lane
Top achievements
Rank 1
Share this question
or