Telerik Forums
Reporting Forum
1 answer
134 views
Hi. I've been trying to localize the (WPF) report viewer strings, and while most of it is done, I still have a problem with a few items.
Namely, I can't get the localization to work with one particular tooltip - the one that shows when the user hovers the mouse over the red validation error indicator (see attachment). I'm using resource files to do this, and, to my understanding, the localized string should be placed under the InvalidValueForParameter key, but this doesn't work for some reason. We're using Telerik Reporting Q1 2013.
Also, I noticed that your documentation for ITextResources <a href="http://www.telerik.com/help/reporting/allmembers_t_telerik_reportviewer_wpf_itextresources.html">here</a> does not specify the PageSetupToolTip property, nor the StopToolTip property - is this an accidental omission, or are there differences between the versions?

P.S. I also noticed that ITextResources interface doesn't contain an InvalidValueForParameter property in TR Q1 2013. Does this mean that this particular tooltip cannot be localized in this version?
Stef
Telerik team
 answered on 13 May 2014
1 answer
784 views
I know part of this has been asked and answered (many times). But my question goes a tad further and I haven't been able to find a solution to what I am looking for. I would like to know if Telerik has an identical feature to Crystal Reports' Suppress. Not similar, identical.

In Crystal Reports if you Suppress a Details section the rendered report is like the section never existed in the first place. In contrast, if I Conditionally Format a Panel in Telerik, and uncheck the Visible property, the rendered report leaves empty white space where the Panel resides (I've attached some screenshots to illustrate). Not only does this break-up the flow of a well-designed report, but a low page count is important to our customers.

It has been suggested multiple times that a Telerik Panel can perform the same behavior as a Crystal Reports Details section. So hopefully I'm just missing something. Any thoughts?

Thanks in advance!

PS - I also tried setting the same Conditional Formatting on all the Fields that I want hidden.
Nasko
Telerik team
 answered on 13 May 2014
1 answer
121 views
Hi
I just update my project to the latest version of telerik reporting and I have the following error:

Descrizione: Errore durante la compilazione di una
risorsa necessaria per soddisfare la richiesta. Rivedere i dettagli
relativi all'errore e modificare in modo appropriato il codice sorgente.

Messaggio di errore del compilatore: CS0433: Il tipo
'Telerik.ReportViewer.WebForms.ReportViewer' esiste sia in
'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\Telerik.ReportViewer.WebForms\v4.0_8.0.14.507__a9d7983dfcc261be\Telerik.ReportViewer.WebForms.dll'
che in 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary
ASP.NET
Files\root\cf8628da\ce2d5566\assembly\dl3\686b1289\00f0b81e_7632cf01\Telerik.ReportViewer.WebForms.DLL'


Errore nel codice sorgente:

Riga 413:
Riga 414: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Riga 415: private global::Telerik.ReportViewer.WebForms.ReportViewer @__BuildControlReportViewer1() {
Riga 416: global::Telerik.ReportViewer.WebForms.ReportViewer @__ctrl;
Riga 417:

File di origine:
c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET
Files\root\cf8628da\ce2d5566\App_Web_reportswindow.aspx.cdcab7d2.gygoq2rf.0.cs

   Riga: 415



Thanks
Stef
Telerik team
 answered on 12 May 2014
1 answer
162 views
Hi Telerik team,
I would like put filter with 2 parameters "quantity" and "operator" (like combo box). For example 100 and >, or 200 and <=.
I've tried to add parameter in report constructor:

 
1.ReportParameter item = new ReportParameter("Par1", ReportParameterType.String, ">");
2. ReportParameters.Add(item);
3. string[] myarray = new string[3] { ">", "<", "=" };
4. ReportParameters["Par1"].AvailableValues.DataSource = myarray;
5. ReportParameters["Par1"].AvailableValues.ValueMember = "=Fields.Item";
6. ReportParameters["Par1"].Visible = true;

and handle PropertyChanged Event
 
1.ReportParameters["Par1"].PropertyChanged += ProductList_PropertyChanged;

 
But when I change Par1 nothing happens.
Ok. I've handled ProductList_ItemDataBinding event, and tried to change operator:

01.void ProductList_ItemDataBinding(object sender, EventArgs e)
02.       {
03.           Console.WriteLine("Event: ItemDataBinding");
04.           Console.WriteLine("Par1: " + (string)ReportParameters["Par1"].Value);
05.           Console.WriteLine("Quantity:" + (string)ReportParameters["Liczba"].Value);
06.           switch ((string)ReportParameters["Par1"].Value)
07.           
08.          {
09.               case "<":
10.                   Filters[0].Operator = FilterOperator.LessThan;
11.                   break;
12.               case ">":
13.                   Filters[0].Operator = FilterOperator.GreaterThan;
14.                   break;
15.               case "=":
16.                   Filters[0].Operator = FilterOperator.Equal;
17.                   break;
18.               default:
19.                   break;
20.           }
21.       }
 


but when I try read parameter 
1.Console.WriteLine("Par1: " + (string)ReportParameters["Par1"].Value);

I always get what was set in constructor ">", quantity also is constant.

Probably something I don't understand but how can I read parameters, set in the report viewer? Is it even possible?
Any help is apprecitated.
Greetings,

Paweł
Stef
Telerik team
 answered on 10 May 2014
1 answer
173 views
I'm having problems trying to get my windows service to recognize my project "ReportsLibrary" which contains my Telerik Report.   When I add my project to the windows service it is available in the object browser, but as soon as I add a using statement for the "ReportsLibrary" in the windows service code and build the service I get the following message:

"The type or namespace name 'ReportsLibrary' could not be found (are you missing a using directive or an assembly reference)?

It appears that I cannot add and reference any project in a windows service if that project is using Telerik Reporting.

Please let me know how to proceed.

-Matt
Stef
Telerik team
 answered on 10 May 2014
1 answer
186 views
I am using 8.0.14.225 version of Telerik.Reporting Dll. For one of our requirements we need to use Telerik Report Books. I couldn't find the ReportBook control in my report tool box and I couldn't find the Telerik.Reporting.ReportBook dll in the folder where I installed my Telerik. For your convenience, I have attached my recent ToolBox list. Can you guys help me with this
Nasko
Telerik team
 answered on 09 May 2014
1 answer
593 views
Hi, I need help to make the table header and footer inside the report viewer fixed to only one, cuz right now I don't know how to make it not repeat for every single row of my table data.. Attach is the screenshot of my table.

Regards,
Hanis
KS
Top achievements
Rank 1
 answered on 09 May 2014
3 answers
250 views
I'm trying to set a pie chart with data programatically but I'm unsure how to do this nor can I find documentation for this method. I'm populating the graph on the NeedDataSource event like so:

private void graph1_NeedDataSource(object sender, EventArgs e)
{
 
}

I'm also unclear as how the graph1.DataSource method works, as I assigned it to an object containing string, int, List<string> and List<int> and the result was a full blue pie chart with a series (?) called System.Collections.Generic.List`1 [System.String]
Nasko
Telerik team
 answered on 09 May 2014
1 answer
120 views
Hi,
I have an issue in reporting where I need to display the rows as columns , so I used the crosstab tool to attain the functionality.
Rows :
CustSat
Fin
Oper
OPS
Over
Now after using the crosstab I have attained to show these rows as columns like this :
CustSat     Fin   Oper    Ops   Over

My issue is to show the "Over" as first column and not "CustSat" as first column.

Basically I want to sort the columns based on conditions like it starts from "Over"
Admin : Please provide a solution to this issue.

TIA
Nikhil





Nasko
Telerik team
 answered on 09 May 2014
5 answers
493 views
Hi

i have a database it's name is 'DrSharoof.sdf'

i have add a data source and select the the 'DrSharoof.sdf' and save the connection string
then i used the query builder wizard the final code in it is:
SELECT        HOS_ID, HOS_NAME
FROM            _HOSPITALS
WHERE HOS_ID=@HospitalID
when i click next a message box has appear and said "Specified Method is not supported" ???

how to solve this problem ??

i try to make the same database tables with extension ".mdf"
and paste the same query builder code
and it's run successfully

so What's wrong ? please help me ...

Thanks in Advance
Stef
Telerik team
 answered on 09 May 2014
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?