Telerik Forums
Reporting Forum
1 answer
130 views
I have a WPF report and I don't know how to add a NeeDataSource to it. When I select the report (blue box in top left corner of designer) I see that there is a NeedDataSource setting in the properties box (the "lightning bolt" icon is selected), but when I click on the dropdown it is empty. Please advise how to add a NeedDataSource to it. Thank you. Jon
Jonathan
Top achievements
Rank 1
 answered on 12 Apr 2019
3 answers
898 views

How can I use the expression editor or some other means to assign a string to a numeric value.  For example, I have status integer values that would show up in the legend of my chart but I want the proper string for those values.  There are about 12 different status values with associated strings.  How can I make this happen?  I don't have a database table with the string values to join.

Thanks

Neli
Telerik team
 answered on 12 Apr 2019
3 answers
332 views

 I want telerik-reporting call angularjs

 I've added the following libraries:Telerik.Reporting.dll,Telerik.Reporting.Services.WebApi.dll,Telerik.Reporting.XpsRendering.dll,Telerik.ReportViewer.Mvc.dll

 file js:

 $('#ReportViewer1').telerik_ReportViewer(
             {
                 error: function (data) {
                     alert(data);
                 },
                 reportSource: {
                     report: '/Reports/Dashboard.trdx'
                 },
                 serviceUrl: '/api/reports/',
                 templateUrl: '/ReportViewer/templates/telerikReportViewerTemplate.html',
                 ready: function () {
                     this.refreshReport();
                 }
             });

 

ReportsController:

 protected override IReportResolver CreateReportResolver()
        {
            var reportsPath = HttpContext.Current.Server.MapPath("~/Reports");

            return new ReportFileResolver(reportsPath)
                .AddFallbackResolver(new ReportTypeResolver());
        }

        protected override ICache CreateCache()
        {
            return Telerik.Reporting.Services.Engine.CacheFactory.CreateFileCache();
        }

 

Global.cs:

 

 public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
        }

        public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
            routes.MapHttpRoute(
                name: "DefaultApi",
                routeTemplate: "api/{controller}/{id}",
                defaults: new { id = RouteParameter.Optional }
            );
        }

        protected override void Application_Start(object sender, EventArgs e)
        {
            IocManager.Instance.IocContainer.AddFacility<LoggingFacility>(f => f.UseLog4Net().WithConfig("log4net.config"));
            ReportsControllerConfiguration.RegisterRoutes(GlobalConfiguration.Configuration);

            base.Application_Start(sender, e);
        }

 

 

but its not working

who can help me

thanks a lots.

 

Todor
Telerik team
 answered on 12 Apr 2019
2 answers
321 views

I am new to Telerik reporting and trying to figure out how to create a line chart to display the data that is attached in the first attachment.  I want the line chart to follow the data in the dataset.  The second screen shot is how I have the report set up and the third screen shot is the designer preview once I complete the report setup.  The fourth screen show is the preview button preview, which is obviously not correct either.  I thought I had an understanding of how to do this but I guess I don't.  Please help me understand how to set this up.

James Wallace

James
Top achievements
Rank 1
Iron
 answered on 11 Apr 2019
3 answers
137 views

We have successful integrated Telerik Reporting into our product and this is running as expected at a number of client sites.  However, the integration is failing at a single client site. Our solution uses the ReportViewer control which we've added to a basic .aspx page. As part of our investigation we removed all the code-behind, and established that it was the following tag that was preventing the page from loading.

<telerik:ReportViewer runat="server" ID="ReportViewer1"Width="100%" Height="700px" BorderStyle="None" >    </telerik:ReportViewer>

The error message doesn't reveal anything other than an error has occurred.  

The .aspx page exists within a SharePoint site, and we have confirmed that the<SafeControl> tags are correct, and that the Telerik DLLs are correctly present in the GAC.  As part of the investigation we installed the Telerik Designer and ran the failing reports successfully in the designer, preview the clients data in the report.  

I would guess there is some security setting in the browser that is preventing the ReportViewer control from loading.  Is there any configuration or restrictions for this component?  Are there any Telerik logs that may reveal what the error is?

Silviya
Telerik team
 answered on 11 Apr 2019
5 answers
283 views

Dear Telerik,

My report on production is not function. I guess load balancer is involved.

I dont know what i could do. I'm totally stuck.

Atipong
Top achievements
Rank 1
 answered on 10 Apr 2019
3 answers
411 views

We have ongoing horrible issues with the Telerik reporting whereby textboxes will not resize to fit the content.  Multi-line etc. is set as required and the field will ~90% of the time work and resize however the rest of the time it will not resize at all.

 

For example you may have text of:

Line 1
Line 2
Line 3

The textbox in the report will only show Line1 and then nothing, even though auto grow etc. are turned on.

This has been a massive problem for us and we get no end of support calls relating to this.  We've tried to reproduce it however it depends on both the text content and the position on the page and other elements in the report.  Understandbly clients are not happy if their report misses the description on an invoice or work order.  We've lost countless hours on this now and are transitioning to a different reporting solution for most elements as we just can't take it any more!

 

I'm assuming the response from Telerik is the same as the other private tickets we've raised which is we cannot reproduce.  I would encourage Telerik to take a look at the actual code and see what may cause the resize action to fail.

I would encourage anyone looking for a reporting solution that shows a dynamic amount of text, ie. 1 line at times or 2 or more lines other times, PLEASE DO NOT USE TELERIK REPORTING!!!! USE ANYTHING ELSE IF YOU WANT TO PRESERVE YOUR SANITY!

Milen | Product Manager @DX
Telerik team
 answered on 09 Apr 2019
1 answer
656 views

how can i change my data to camel-case or proper-case (like first word of each letter to be capital) in text box, something like 

this is example -> This Is Example

Silviya
Telerik team
 answered on 09 Apr 2019
8 answers
4.6K+ views
i am trying to display order numbers for every data row in detail section. There is no "order" column in database.

Output will be:

order id name
1 57 jack
2 23 denis
3 67 harry


ps: i am sorry for my english (:
Silviya
Telerik team
 answered on 09 Apr 2019
13 answers
2.6K+ views
Hello.  We've recently purchased Telerik Reporting and so far for our initial needs, it's been great.  But now for a new project, we are trying to basically create a large contract/invoice template.  The reason is we have 13 different contract types that can be created, but they all have the same text in sections while different text in others.  For the changed text, we are pulling it from a SQL DB and putting it into textboxes in this new report.

The problem is how the CanGrow property of the Textbox behaves.  In our original need, we set the width for a basic name/address textbox to be the max it would ever be, but the height to be small.  When the data was pulled in, the textbox would automatically grow vertically to accomodate all the data.  Our needs are different this time and instead of the textbox auto-growing vertically, we need it to auto-grow horizontally (or shrink as well).  So if we set a textbox to a size that's too big for "tiny text", it would auto-shrink horizontally to fit, or auto-grow for text like "This is a very long sentence that wouldn't normally fit into the textbox width".

My question is, if this is possible, how do we do this?  We've tried setting both CanGrow and CanShrink to True, also tried setting MultiLine and TextWrap to False, but nothing seems to work.  Is there any way?  Thank you.
Giuseppe
Top achievements
Rank 1
 answered on 08 Apr 2019
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?