Telerik Forums
Reporting Forum
1 answer
147 views

We have been working with Telerik for around six months now. Everything has been functioning fine; however, it seems recently we are experiencing problems with the Cache eating up a few GBs on our virtual server. This leads to us not being able to load reports unless we login remotely and delete the Temp folder for the reporting. We are looking for a long term solution. We are working on increasing space on our server; however, we would like to be able to somehow limit the cache size (which would hopefully make things a little more predictable). I've also thought about tying into the database for caching; however, I'm hesitant to do that because I don't know how much space it would take up.

Nasko
Telerik team
 answered on 25 Sep 2017
3 answers
989 views
hi

i am using a textbox to display a date,

the format property in the textbox is "MM/dd/yyyy" it should display for example  5-may-2012 ----->  "05/05/2012"

but it is only showing a digit in day and month ..   "5/5/2012"

i have reviewed the server configuration but it has the same format "MM/dd/yyyy"


HELP ME PLEASE!





Konstantinos
Top achievements
Rank 1
 answered on 25 Sep 2017
0 answers
88 views

I want to make a table like blow:

--------------------------------------------------

category   |  Name |   Amount | Total |

--------------------------------------------------

                 |paper   |   5           |          |

AAAA       | Pen     |   10         |    20  |

                 |XXX     |   5           |          |

----------------------------------------------------

 

What can I do?

 

Vincent
Top achievements
Rank 1
Iron
 asked on 22 Sep 2017
0 answers
83 views
Hi if you have any idea on Telerik controls, could you please tell me how to add dynamic controls to Radgrid on a button click(which is present inside RadGrid)?
sandeep
Top achievements
Rank 1
 asked on 22 Sep 2017
1 answer
447 views

Hello,

I have created a Telerik Reporting REST service in order to render "telerik reports" on my Web Application in HTML 5 view. I am currently using the following code on my Web Application page "Report.aspx" to consume the service.

 <script type="text/javascript">
       
        $("#reportViewer1")
            .telerik_ReportViewer({
                serviceUrl: "http://localhost:62355/api/reports/",
                templateUrl: '/ReportViewer/templates/telerikReportViewerTemplate.html',
                reportSource: {
                    report: "VB.ReportLibrary.ReportCatalog, VB.ReportLibrary",
                    parameters: {
                    }
                },

                viewMode: "ViewModes.INTERACTIVE",
                scaleMode: "ScaleModes.SPECIFIC",
                scale: "1.0",
                PersistSession: "true"

            });
       
    </script>

When I open "Report.aspx" it throws an error "Client with ID '[object Object]' not found. Expired" on locally running Service App (See attached image "ServiceError.jpg"). At the same time client side(Web App page Report.aspx) shows an alert message "Gone" (See Image 410_Gone.jpg). ReportsController.vb code is as follows:

Imports Telerik.Reporting.Cache.Interfaces
Imports Telerik.Reporting.Services.Engine
Imports Telerik.Reporting.Services.WebApi
Imports System.IO
Imports System.Web.Http.Cors

'The class name determines the service URL.
'ReportsController class name defines /api/report/ service URL.

<EnableCors("http://localhost:53274", "*", "*")>
Public Class ReportsController
    Inherits ReportsControllerBase

    Shared configurationInstance As Telerik.Reporting.Services.ReportServiceConfiguration

    Shared Sub New()
        'This is the folder that contains the trdx or trdp report definitions
        'In this case this is the Reports folder
        Dim appPath = HttpContext.Current.Server.MapPath("~/")
        Dim reportsPath = Path.Combine(appPath, "Reports")

        'Add resolver for trdx report definitions,
        'then add resolver for class report definitions as fallback resolver;
        'finally create the resolver and use it in the ReportServiceConfiguration instance.
        Dim resolver = New ReportFileResolver(reportsPath) _
                       .AddFallbackResolver(New ReportTypeResolver())

        'Setup the ReportServiceConfiguration
        Dim reportServiceConfiguration As New Telerik.Reporting.Services.ReportServiceConfiguration()
        reportServiceConfiguration.HostAppId = "reportViewer1"
        reportServiceConfiguration.ReportResolver = resolver
        reportServiceConfiguration.Storage = New Telerik.Reporting.Cache.File.FileStorage()
        reportServiceConfiguration.ReportSharingTimeout = 0
        reportServiceConfiguration.ClientSessionTimeout = 9999
        configurationInstance = reportServiceConfiguration
    End Sub

    Public Sub New()
        'Initialize the service configuration

        Me.ReportServiceConfiguration = configurationInstance
    End Sub

    Protected Overrides Function CreateCache() As ICache
        Return Telerik.Reporting.Services.Engine.CacheFactory.CreateFileCache()

    End Function

End Class

 

Can you please provide a solution regarding same. My end goal is to render telerik report on web form page using html 5 report viewer (See expected_result.jpg).

Katia
Telerik team
 answered on 20 Sep 2017
1 answer
403 views

One of our client when to repeat a table on every page of the report. My idea was to use the page header to achieve but I discover that the page header doesn't accept any data-bound items on it.

So my question, does it exist a way to repeat a data-bound item (texbox, table) on every page of the report?

Yana
Telerik team
 answered on 20 Sep 2017
8 answers
745 views

Hi,

I am using Telerik Reporting Q2 2015 with ASP.net MVC ReportViewer (UI for ASP.net MVC). In this I am not able to disable cache at server side, can you please share the option to disable cache from both client & server side.

 This will help me to pull the report every time from database & share the update data in the report.

 

-thank you

-nm

Katia
Telerik team
 answered on 20 Sep 2017
4 answers
542 views
Quick Question, when I create parameters that contain multiple values the filter always displays as a list box. Is there a way to have the filter be a dropbox rather then having it display multiple items as a list box does?

Katia
Telerik team
 answered on 19 Sep 2017
1 answer
399 views

Hi,

Please help me to get why the below binding - Height of PageHeaderSection - returns the false value on all pages. On first page it should be 2.5 inches, on all others - 1 inch, but 1 inch on all pages.

Property path     Expression

Height               =IIf(PageNumber = 1, "2.5in", "1in")

Thank you

Todor
Telerik team
 answered on 19 Sep 2017
7 answers
1.0K+ views
Hi,

I've followed this guide: http://www.telerik.com/help/reporting/telerik-reporting-rest-host-http-service-using-web-hosting.html in order to host the telerik reporting service. When i run http://localhost:[portnumber]/api/reports/formats i get a valid response.

When i try to run the html5 viewer i get a black line and no reports showing.

After examining the network i can see that the client posts to localhost/api/reports/clients which returns a clientId, then it posts to localhost/api/reports/clients/{id from previous call}/parameters which returns a 404 not found (standard IIS not found page).


Any suggestions ?

saleng
Top achievements
Rank 1
 answered on 18 Sep 2017
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?