Telerik Forums
Reporting Forum
1 answer
99 views
I am dynamically reading parameters for my reports from either a posted web form or a querystring, and as such they're all strings. Currently I loop through the parameters in my report, and match up the supplied parameter names to do an assignment like this:

      foreach (ReportParameter parameter in MyReportSource.ReportDocument.ReportParameters) {
        switch (parameter.Type) {
          case ReportParameterType.Boolean:
            parameter.Value = Convert.ToBoolean(Parameters[parameter.Name]);
          break;
          case ReportParameterType.DateTime:
            parameter.Value = Convert.ToDateTime(Parameters[parameter.Name]);
          break;
          case ReportParameterType.Float:
            parameter.Value = Convert.ToDouble(Parameters[parameter.Name]);
          break;
          case ReportParameterType.Integer:
            parameter.Value = Convert.ToInt64(Parameters[parameter.Name]);
          break;
          default:
            parameter.Value = Parameters[parameter.Name];
          break;
        }
      }

is there a better way to do this? If at some point Telerik adds a new parameter type, I have to go in and change this code (which I'd like to prevent). Can I just use:

      parameter.Value = Parameters[parameter.Name];

does Telerik take the Value and internally covert it? or would just passing along all the Strings potential cause me issues later with things like validation and default values? 





Hinata
Top achievements
Rank 1
 answered on 25 Mar 2015
3 answers
155 views
Hi! After looking in the documentation, I did not find how to make interactives parameters
in the Report Designer. Let’s say I create a report about services and I want a
list of services. The client will find the report in Report server (no code)
and will select the service or the services who interest him. How can I do
that?

 
Thanks for your help

Richard
Richard
Top achievements
Rank 1
 answered on 25 Mar 2015
3 answers
96 views
So I am an owner of Telerik Reporting. I would like to use the HTML5 Viewer, but I see it requires Kendo UI, which I don't own. Futhermore the CDNs specified in the documentation are marked for "trail" use. To complicate matters more, I'm working on a project that runs off a local intranet server with no external internet access, as such I would need to download and locally link these JS files... but I don't own Kendo UI... so do I, as a Telerik Reporting customer, have legal access to use these libraries to implement the HTML5 Viewer? or don't I?
Peter
Telerik team
 answered on 24 Mar 2015
2 answers
1.4K+ views
I have a report that supports multiple languages. Most of them display and export to PDF correctly. But there are two that will display correctly in the ReportViewer, but when exported to PDF they display all the characters as empty squares. I'm using Arial Unicode MS as the report's base font. The two problem languages are Amharic and Tigrinya. They do display correctly if exported to Word or Excel. The properties of the PDF show that it is using the correct Unicode font. This is all taking place on my desktop development environment. I've checked all the language settings on my computer and read other threads here with a similar problem. None of the suggested solutions work. The report does work properly in English, Russian, French, Somali, Spanish, and Vietnamese.

Anything else I can try?

Thanks!
Hinata
Top achievements
Rank 1
 answered on 24 Mar 2015
1 answer
197 views
I have problem with telerik report component. I do not how to start fix it.In common I have SilverLight project where I use telerik report. I used version 7.0.13.220 (Q1 2013 build 7.0.13.220) But i update telerik Kendo UI to 2013.1.220.1050After that my reports do not open in Design mode. But it works in application.When I update version of telerik report 8.1.14.804 (Q2 2014 SP1)In this case I can open report in design mode. But I got error in app

A report can't be created from Reports.CustomerBalances, DMS2.Reporting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null Unable to cast object of type 'CustomerBalances' to type 'Telerik.Reporting.IReportDocument'.

Do you have any idea ?
Stef
Telerik team
 answered on 24 Mar 2015
1 answer
306 views
Hi,

I am currently using Q1 2015 of Telerik Reporting WPF ReportViewer.
Is it possible to either modify the Toolbar or to hide the Toolbar and create my own Toolbar?

Kind Regards,

JP van der Merwe
Stef
Telerik team
 answered on 24 Mar 2015
7 answers
355 views
Hi, I'm trying to create a report with multiple collapsible groups but can't figure out how to hide the details when the parent group is collapsed. For example, the report could look like this:

Group 1 Header
  Group 2 Header
    Details

Using the Toggle Visibility Action, if I set the target of Group 1 Header to Group 2 Header, and Group 2 Header to Details, I'm able to expand the Group 1 Header, and Group 2 Header correctly. However, collapsing the Group 1 Header after expanding both sections only hides the Group 2 Header and leaves the Details section visible.

I've tried setting the targets for Group 1 Header to both Group 2 Header and Details, but that seems to break the expanding functionality as Group 2 Header is never shown when you expand Group 1 - you just see the Details section as if Group 2 isn't there.

Attached is an illustration of the issue.

Is there a way to accomplish this functionality? I'm currently using Telerik Reporting Q2 2013 (7.1.13.612).
Nasko
Telerik team
 answered on 23 Mar 2015
38 answers
2.4K+ views

Is there a way to have a textbox with underline/bold to different parts the text?

Like this:

Please NOTE: This is a test

Thanks,

Brett

Ladislav
Top achievements
Rank 1
 answered on 23 Mar 2015
1 answer
139 views
Hello,
I have be at this for hours trying to figure out why the picturebox (in image placed at runtime) will not push over the textbox to the right of it on one of my reports. I have numerous reports with company logo in the left hand corner with their address in a textbox set in the page header right to the right of it and they all seem to work with the exception of this one report.
I tried everything I can think of short of building the report over from scratch.
The picturebox is Achored to the Top/Left  and it's Sizing set to "AutoSize", Docking = "None"
The text box  has Achoring & Docking set to "None", CanGrow = True, CanShrink = False.
I have compared with other reports with apparently identical setup that work and still the Address textbox will not move.

I have messed with the Z-order which didn't make any diff (since I can't see what it is on other reports that work)..
If I bring the textbox to the TOP It will print the address on top of the logo, If I send it to BACK then the Logo just hides the Address.

PLEASE let me know what I am missing.
Thank you
Nasko
Telerik team
 answered on 21 Mar 2015
5 answers
1.3K+ views
Hi,

Here i need to hide the panel if some field data contains null value. I have tried by condition formatting and also from code behind on item data bound event but still its no give me desired result.

Please assist me for the same.

Thanks & Regards,

Kaushal Jani
Nasko
Telerik team
 answered on 21 Mar 2015
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?