Telerik Forums
Reporting Forum
0 answers
109 views
I'm trying to hide the navigate-forward and navigate-back buttons in the Telerik Report viewer, on an ASP.NET page.

Browsing through the documentation on the website, I find NavigateBackEnabled as a property of ReportViewerBase, which is in the Telerik.ReportViewer.WinForms namespace.

I cannot find NavigateBackEnabled in the Telerik.ReportViewer.WebForms namespace, and intellisense does not list NavigateBackEnabled as an option for <telerik:ReportViewer>.  If I set NavigateBackEnabled="false", despite the lack of intellisense, I get javascript errors in your ReportViewer.prototype.OnReportLoaded(), when I run a report the second time, and the navigate-back button is still enabled.

Our problem is that when the user clicks on navigate-forward or navigate-back, we get errors:

An error occurred while executing interactive action.
Unable to translate bytes [97] at index 0 from specified code page to Unicode.

  Given that this is not a function we intended to provide to our customers, rather trying to dig into why this is happening, we'd rather simply remove the function.

My expectation is that how we're initializing the report data doesn't quite match up with the way you expect us to. But that's not something we're really looking to fix, right now. We've made the decision to rewrite the reporting systems using a completely different technology, so putting more than the minimal effort into getting the Telerik reports to not generate errors is not justified.

Is there something I can do, in markup or in code-behind, to keep the navigate buttons from showing?  Or something I can do in the code-behind when we run the report, so that it always thinks that it's been the only instance that has been run?

==== EDITED ====

OK, never mind.   ShowNavigationGroup="false".  Somehow that never showed up, when I was searching around for NavigateBack and NavigateForward.

Jeff
Top achievements
Rank 1
 asked on 14 Oct 2013
5 answers
350 views
Hi telerik,

I'm creating a report showing 2 temperature series measured irregular interval which saved in database
but faild to show correctly. I think I might make a mistake to set property properly and looked your document
and threads here ,however, most of all are outdated and even worse,your doc says just 1 short example with
only code which is not suitable for me.
I used RadChart for SL to show dynamic thermo graphs with good success but their setting looks diffrent
with that of report chart.

Would you let me know proper and newest exmaple to show datetime scla graph on report ?
Or give me an advice on attached image what I had make a mistake.

The error message says datetime is out of range which can add or subtract bla bla.
and another is my setting of axis.

My fiedls are : LapTime : datetime ordered by date : x - axis
                       Thermo : thermo values  : y-axis

Thank you in advance.

Kang






Yonggu Kang
Top achievements
Rank 1
Iron
 answered on 14 Oct 2013
8 answers
212 views

 My requirement is to display a button in parameter section and a search form is open on pressing that button, user select value and that value would be displayed in text box placed in parameter section how can i do that?
Gaurav
Top achievements
Rank 1
 answered on 14 Oct 2013
1 answer
70 views
I know this is very basic but I just started and I do not get it!
I need to group customers per each country like this:

Country z customer 1
customer 2
customer..

Country x customer 21
customer...

I have used a table wizard and added a group as per attached picture "settings" but i get a result as per picture "result".
Also you will note that I added a sorting by countries but is not working.
What am I doing wrong? Some help will be really appreciated.
Thank you.
Felice
Top achievements
Rank 1
 answered on 13 Oct 2013
7 answers
520 views
I have an asp.net website based on Radgrids and a DB.
The Radgrids are mostly used to post data to the db. I would like to introduce some page containing  Telerik Reporting to show the data from the db in specific formats. 
I have created a report with the stand alone tool and checked if it is working.
I have added a report viewer and a script manager to the web page.
How do I connect the report to the report viewer now?
Here is where I am stuck!


I am not a professional coder but I learn quickly. Some example and reference could help me to come right on this.


Thanks for supporting.
Felice
Top achievements
Rank 1
 answered on 12 Oct 2013
4 answers
689 views
Hello,

How can I restrict .PDF option for only one report.

For one report all other options should be there except pdf and for other reports all options should be there.

Thanks
Stef
Telerik team
 answered on 11 Oct 2013
5 answers
517 views

Hi,

I have a standard report with: PageHeaderSection,  GroupHeaderSection -  DetailSection etc. My problem is the paper on which the report is being printed on, it may have a pre- printed Logo on the top. What I need is to dynamically set the page margin or better the PageHeaderSection height. But it seems this is not possible. Could you please give me a solution to this problem.

Thank you and Kind regards
Wayne

Stef
Telerik team
 answered on 11 Oct 2013
2 answers
277 views

Hi, I am loading main report and sub report data source programmatically and the both the reports load data correctly
Now I want to filter sub report data based on the main report.

For Example list orders by product. So I am setting Product ID parameter value to the product ID from the main report. Problem is that this is not getting passed or available during sub report generation. I verified this by display parameter value on the support and it is blank.

Thanks in advance for your help.

Srinu T

Sheeraz
Top achievements
Rank 1
 answered on 10 Oct 2013
2 answers
283 views
Hi,

What I require is to be able to pass parameters to a report that don't exist as part of the actual report viewer control.  In other words, I need to be able to ask the user for information in a form and then post that information to the report viewer further down the page.

I've managed to get this working by using the following javascript in the click event of my form button:

$('#btnUpdateReport').click(function () {
        // add the parameters to the controller parameters
        var pId = $('#txtPortfolioId').val();
        var viewer = $reportViewer.data('telerik_ReportViewer');
        viewer.reportSource($.extend({}, viewer.reportSource(), { parameters: { 'portfolioId': pId } }));
});

I can see that the POST actions in Firebug are as follows when the number "1" is entered into the text box outside the viewer:
/api/reports/clients/142151-0f94/ReportingPrototype.Reports.InvestmentStrategy, ReportingPrototype/parameters?{"portfolioId":"1"}=
/api/reports/clients/142151-0f94/instances?{"report":"ReportingPrototype.Reports.InvestmentStrategy, ReportingPrototype","parameterValues":{"portfolioId":1}}=

The problem is, the query that's generated against the database to return results passes in a 'NULL' value to set against the parameter "@portfolioId".

What am I doing wrong?

Cheers.


G-Man
Top achievements
Rank 1
 answered on 09 Oct 2013
1 answer
195 views
just wondering if the initial release of the HTML Viewer will support RTL
Stef
Telerik team
 answered on 09 Oct 2013
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?