Telerik Forums
Reporting Forum
1 answer
174 views

When I have same data for two or more y axis values, the lines on line graph overlap and I cannot identify which line is for what.

Attached is the picture to explain the scenario.

 

In the image 'Eastern Cape' and 'Western Cape chaekers' have same count = 3. we can see western cape orange line but red line is hidden behind the orange line.

 

Please suggest how can we show both lines.

Katia
Telerik team
 answered on 07 Apr 2017
1 answer
254 views
The report parameter values are displayed in a div with list of options to select, instead of dropdown select list. Is there any option to change the format.
Katia
Telerik team
 answered on 07 Apr 2017
1 answer
440 views

I  try to print reports without any gui (like ReportViewer or Print Dialog), to generate a lot of different documents from code behind. I would like that  users can coninue to work during this process.

I trying to do that  in this way:

Public Sub QuickReportPrint(Config As Config, ReportSource As ReportSource)
       Dim printer = Config.PrinterName

       Dim setting As New PrinterSettings()
       setting.PrinterName = printer
       setting.Copies = Config.CopiesPrint
       If setting.SupportsColor Then
           setting.DefaultPageSettings.Color =true
       End If
       Dim paperSource = GetPaperSource(setting, Config.PaperSource)
       If papaerSource IsNot Nothing Then setting.DefaultPageSettings.PaperSource = paperSource
       Dim processor = New ReportProcessor()
       processor.PrintReport(ReportSource, setting)
   End Sub

 

Unfortunatly, while i'm printing my reports, apears  a  popup windows, like those one in atatched file.

 

Peter
Telerik team
 answered on 07 Apr 2017
0 answers
320 views

Hi,

   i am using standalone telerik report viewer so i am not using c#, everything with stored procedure and report viewer,trdp files.currently having a problem with picture box that was binding with stored procedure.it showing error like 

An error has occurred while processing PictureBox 'pictureBox1':
Invalid image data.
------------- InnerException -------------
Parameter is not valid.

please update the answer as soon as possible

Thank you,

varahala babu
Top achievements
Rank 1
 asked on 07 Apr 2017
1 answer
82 views

How do I prevent x-axis labels on Reporting charts being forced to certain data types.

 

As you can see in my sample, the data table shows that the x-axis should be text, but the chart has forced the x-axis to be numeric and where it can't parse the value as a number it shows it as 0.

 

How can I make it show as text, like in the data table on the left?

Ivan Hristov
Telerik team
 answered on 05 Apr 2017
0 answers
254 views

Hello,

I was wondering if there is a way to set the text trimming of reporting textbox for my reports as we have for normal texblocks in wpf. Is there a way to do the same?

I would love to do something like: textbox.Texttrimming = TextTrimming.CharacterEllipsis

Thanks,

Gaurav 

gaurav
Top achievements
Rank 1
 asked on 05 Apr 2017
0 answers
101 views

Hi,

I have created a crosstab report using crosstab wizard. I want the child rows to be collapsed by default. I can't find the grouped rows to hide in Group Explorer.

I have child rows upto 2 levels down. Both needs to be collapsed on first load.

Attached screenshot for reference.

Sriram
Top achievements
Rank 1
 asked on 04 Apr 2017
7 answers
526 views
Hi,
how it's possible create a chart with multiple line series?

for example in my db I have:

Date                Type        Value
01/01/2011      Red            8
01/01/2011      Yellow        12
01/01/2011      Green        9
02/01/2011      Red            6
02/01/2011      Yellow        9
02/01/2011      Green        7
03/01/2011      Red           5
03/01/2011      Yellow       11
03/01/2011      Green       13

I want create more line series how many are the type ( in my example 3), where the x-axis is Date and the y-axis Value.

I create a dataSource but whit series in property of the chart I can create only one line series.

thanks
Vessy
Telerik team
 answered on 04 Apr 2017
1 answer
97 views

Hello,

I am using a graph with a simple lineSeries (bound from a csvDataSource). 

When styling the label of each data point i can change the font and font-color. But i want to display a background behind the label.

I attached two screenshoots one form our kendo web project where the background of labels is working and one from the Telerik Reporting Designer.

 

Best Regards,

Dave Kinne

Ivan Hristov
Telerik team
 answered on 04 Apr 2017
0 answers
296 views

I tried this demo's Provided by Telerik.

 

  1. Download the telerik report Demos or open an existing working telerik report from Report Viewer.
  2. Create ObjectDataSource with below model properties. In my case below Id property is Guid. Guid is not supporting in Telerik parameter data types, so we are using String datatype for Id.
           public class TestItem
        {
            public string Id { get; set; }
            public string Name { get; set; }
        }
  3. Add a new Report Parameter with AvailableValues, select the ObjectDataSource created in above step. 
    • Display Member - Name
    • Value Member - Id
  4. Check the Report Parameter attachment for quick review.
  5. Create some mock data for ObjectDataSource created in Step2
    public IEnumerable<TestItem> GetTestItems()
            {
                var results = new List<TestItem>
                {
                    new TestItem { Id = Guid.NewGuid().ToString(), Name = "One" },
                    new TestItem { Id = Guid.NewGuid().ToString(), Name = "Two" },
                    new TestItem { Id = Guid.NewGuid().ToString(), Name = "Three" }
                };
                return results;
            }

   6. Run the sample from Report Viewer, click on Preview is throwing error

Report API details:

  • URL: http://localhost:7137/api/reports/clients/165548-be5b/instances
  • Request Body:                                      

          {"report":"Telerik.Reporting.Examples.CSharp.ReportCatalog, CSharp.ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null","parameterValues":{"Name1":"e0fc65ea-760f-4ffb-9c06-5367a13b555f"}}

  • Response Body:
  • {"message":"","exceptionMessage":"Missing or invalid parameter value. Please input valid data for all parameters.","exceptionType":"Telerik.Reporting.Services.Engine.InvalidParameterException","stackTrace":"   at Telerik.Reporting.Services.Engine.ReportEngine.CreateReportInstance(String clientID, String report, Dictionary`2 parameterValues)\r\n   at Telerik.Reporting.Services.WebApi.ReportsControllerBase.CreateInstance(String clientID, ClientReportSource reportSource) in c:\\temp\\reporting\\RBuild-28199\\Reporting_Build\\Source\\Code\\Telerik.Reporting.Services.WebApi\\ReportsControllerBase.cs:line 188\r\n   at lambda_method(Closure , Object , Object[] )\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.<>c__DisplayClass5.<ExecuteAsync>b__4()\r\n   at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)"}

Above sample is working fine in Preview model. Only failing from Report Viewer.

Is this possible to run report using Report Viewer with Guid parameters?

 

Kumar
Top achievements
Rank 1
 asked on 03 Apr 2017
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?