Telerik Forums
Reporting Forum
2 answers
249 views
I’m using a ReportBook to display 2 different reports.  Both reports can also run independently from the other.  The second report is a recap of the first report, which means the data for the second report relies on the same data generated for the first report.

The ObjectDataSource.DataSource of both reports are assigned the same Type ( typeof(MyDataObject) ), but they are assigned different DataMembers.  MyFirstReport calls MyDataObject.GetRecords() and MySecondReport calls MyDataObject.GetRecapRecords().

When they are run together in the ReportBook, both reports are creating a unique instance of MyDataObject.  In other words, there are two instances of MyDataObject created.  Since both reports use the same DataSource Type, is there any way for both reports to share only one instance of MyDataObject when they are run from the ReportBook?
Todor
Telerik team
 answered on 18 May 2018
4 answers
1.3K+ views
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
Naveena
Top achievements
Rank 1
 answered on 18 May 2018
5 answers
245 views
Problema de desfazamiento del reporte cuando mandas a Imprimir con Windows 7 a 64 Bits
como lo podría corregir me imprime las barras de scroll del report Viewer
Gabriel
Top achievements
Rank 1
 answered on 17 May 2018
1 answer
710 views
My current report viewer has a parameter area which is vertically aligned but the one I want to implement it horizontally..
So how can we customize this area or is there any other way to implement it in the horizontal way?

I have attached the current parameter area image and my required parameter area image below....
Silviya
Telerik team
 answered on 17 May 2018
5 answers
302 views
I am currently working on Telerik Reporting with localization.i am new to telerik reports.please Can any one help me how to localize telerik reports to display in the language of a specific culture in my MVC application. For example, our report may display in both English and malay.i refered this link localizing reports in my mvc application.but i can't get exact info how to implement these concept in my aplication.
Naveena
Top achievements
Rank 1
 answered on 17 May 2018
2 answers
637 views
Hello,

I want to use resource files in my reports. I found the way that has to be done w.r.t. the culture-identification, and that is quite simple.
My problem however is that I don't know where to put the files. I found some C# code that will allow me to access a resource file but that does not work as I don't know where I have to tell it where the resourcefiles are. That code is:

public static string ReadResourceValue(string file, string key)
        {
            //value for our return value
            string resourceValue = string.Empty;
            try
            {
                // specify your resource file name
                string resourceFile = file;
                // get the path of your file
               // string filePath = System.AppDomain.CurrentDomain.BaseDirectory.ToString();
                string filePath = "";
                // create a resource manager for reading from
                //the resx file
                ResourceManager resourceManager = ResourceManager.CreateFileBasedResourceManager(resourceFile, filePath, null);
                // retrieve the value of the specified key
                resourceValue = resourceManager.GetString(key);
            }
            catch (Exception ex)
            {
                resourceValue = string.Empty;
            }
            return resourceValue;
        }

Is there a simple (simpler) way to do this?

Thank you
deepak
Top achievements
Rank 1
 answered on 17 May 2018
0 answers
117 views

want to use Korean.

 But There are cracks when export it to pdf.

I think its cause about fonts or encoding problem,
Is there any way make it works?
-I changed the font to Arial Unicode MS, already
Thanks.

yeonha
Top achievements
Rank 1
 asked on 16 May 2018
0 answers
182 views

Hi,

What would be the best approach to create the Master-Details table in Telerik report? The requirements are very basic:

row has two columns: description and price

Details table has only one column: name

The details table is optional, meaning not every master row has it.

The backing data source will be an Object from my model

An example of what I need is given in the attached image

Thanks,

Bojan

Bojan
Top achievements
Rank 1
 asked on 15 May 2018
0 answers
191 views

Hi, 

I am working on a report that include some columns of currency. I have stored the currency symbols in database and fetching the appropriate form there. 
I am not able to group numbers when I concatenate currency fields with number field.

=Fields.(DrAmount)
When I apply grouping on above field I get appropriate result i.e 15,000.

=Fields.CurrencySymbol+' '+(Fields.DrAmount)
When try this one I can't group numbers and I get the result like this. i.e Rs 15000.0000

=Fields.CurrencySymbol+' '+CDbl(Fields.DrAmount)
When try this one I get the result like this. i.e Rs 15000

 

Muhammad
Top achievements
Rank 1
 asked on 15 May 2018
1 answer
151 views

Hello,

I am having problem defining parameter value from one report to a drillthrough report.

From one item in a table report (the origin report), I wish to open a target report and supply it some information through its Parameters.  This appears to be a simple case of a drillthrough report as described in this documentation page 'How to: Add a Drillthrough Report Action'.

What puzzles me is that, when defining the Action in a TextBox of the origin report, the Edit Parameters does not suggest any parameter name , as opposed to what the documentation describes.

Here are my steps, from inside MSVS 2015:

1. Open the origin report Design view, select a textbox - Properties - Action.

2. Open 'ReportSource' menu, Select 'Type name' and select the target report type class.

3. Open the 'Edit Parameters...' dialog, hit 'New' to create a new entry and drop-down the 'Parameter Name' combobox of this entry: it is empty; it does not contain the Report Parameters defined in the target report.  

The documentation says:

Click Edit Parameters button - Edit Parameters dialog appears. Click New. In the Parameter Name column select the name of the report parameter in the drillthrough report. In the Parameter Value, type or select the value to pass to the parameter in the drillthrough report.

What I am missing ?

I am using Reporting Q3 2014 SP1 from MSVS 2015.

Thx

Silviya
Telerik team
 answered on 15 May 2018
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?