I must be missing something... I create a web project and add my Telerik class library and set a breakpoint on my Telerik test report contructor. I run my project and can debug as normal but it never steps into the report.
Is there documentation on this somewhere or am I just missing something?
R
Is there documentation on this somewhere or am I just missing something?
R
4 Answers, 1 is accepted
0
Hi Robert Gayo,
Each Telerik Report is just an ordinary class that you can debug the same way you can debug any other class from your project. Just create a new instance of the report in code and the debugger will hit the breakpoint in the constructor. You can also add a report viewer to your web page, specify a report for it, and the report constructor will be called as soon as you try to preview this report in the page. If you have a certain issue when debugging your reports, could you be more specific about the exact conditions so we can provide more assistance to you?
Sincerely yours,
Ivan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Each Telerik Report is just an ordinary class that you can debug the same way you can debug any other class from your project. Just create a new instance of the report in code and the debugger will hit the breakpoint in the constructor. You can also add a report viewer to your web page, specify a report for it, and the report constructor will be called as soon as you try to preview this report in the page. If you have a certain issue when debugging your reports, could you be more specific about the exact conditions so we can provide more assistance to you?
Sincerely yours,
Ivan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Robert
Top achievements
Rank 1
answered on 02 Sep 2009, 02:00 PM
This only works if I create a report and have it within the web project app_code folder. This is not as defined in your best practices.
I need to debug within the class library which is attached to the web project. How can I step through this report within the class library when I run my web project?
Robert
I need to debug within the class library which is attached to the web project. How can I step through this report within the class library when I run my web project?
Robert
0
Hello Robert Gayo,
It seems your debugging problem is not related to Telerik Reporting at all. As I said previously, there is nothing special about the report classes generated by the Report Designer which you should be aware of when debugging.
If you are still not convinced try the following experiment:
Sincerely yours,
Ivan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
It seems your debugging problem is not related to Telerik Reporting at all. As I said previously, there is nothing special about the report classes generated by the Report Designer which you should be aware of when debugging.
If you are still not convinced try the following experiment:
- Open the sample solution that comes with the Telerik Reporting installation in Visual Studio
- Add a breakpoint in the constructor of any report from the class library and run the Web Demo in debug mode
- Select the report from the menu and the debugger should hit the breakpoint immediately.
Sincerely yours,
Ivan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Naveena
Top achievements
Rank 1
answered on 18 May 2018, 08:37 AM
key =>graph1.NoDataMessage Value=>: "There is no data to display for any \r\n See the next page for Pai" +"n, Activity and Sleep Category Scoring" , These are in my RESX file , while localization what ever the special charecter and \n are displaying as same how can i do fix this