Telerik Forums
Reporting Forum
1 answer
58 views
Hello,

we have a problem with image rendering in the top of report. If we run a application on server side, it works correct. If we publish the page to Internet, the logo was not displayed.

Part of the configuration file


<system.serviceModel>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true" />
    <services>
      <service
              name="Telerik.Reporting.Service.ReportService"
              behaviorConfiguration="ReportServiceBehavior">
        <endpoint
               address=""
               binding="basicHttpBinding"
               contract="Telerik.Reporting.Service.IReportService">
        </endpoint>
        <endpoint
                address="resources"
                binding="webHttpBinding"
                behaviorConfiguration="WebBehavior"
                contract="Telerik.Reporting.Service.IResourceService"/>
        <endpoint
                address="mex"
                binding="mexHttpBinding"
                contract="IMetadataExchange" />
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior name="ReportServiceBehavior">
          <serviceMetadata httpGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="false" />
        </behavior>
        <behavior name="">
          <serviceMetadata httpGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="false" />
        </behavior>
      </serviceBehaviors>
      <endpointBehaviors>
        <behavior name="WebBehavior">
          <webHttp />
        </behavior>
      </endpointBehaviors>
    </behaviors>
  </system.serviceModel>

Part of data service class:

[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class WebClientService : IWebClientService
    {
...
}

Version of components: Q1 2014 8.0.14.311

Obtain Image data using SQL query.

Did I miss anything?

Thanks, Michal
Stef
Telerik team
 answered on 02 Jun 2014
1 answer
93 views
Hi.

I have a project, not written by me.
Using telerik first time.
Export button does not shown in run-time, but i see it in design.
What has happened, how can I return button?
Stef
Telerik team
 answered on 02 Jun 2014
6 answers
87 views
Hi All,

I'm new to Reporting. Just wondering how to call a Sub Procedure from Report Textbox Action to use Ajax?
Here's the scenario:
- Parent Aspx Page With the sub procedure to be called.
    - Asp: Placeholder added to Parent Page
      - User Control (with Report viewer) Added to Placeholder
        - Report with Textbox that has action to call Parent Sub Procedure to change the user control on Asp: Placeholder?
Condition: It will be done using Ajax, when changing user control based on field.value. Is this possible? (My preferred solution)

(Optional)
If I'll be using navigateurl it will do postback and also we don't want to add some info to url (querystring) which is the field.value.
We prefer updating session ids with the field value that is why I need to pass the field.value to a procedure to update session ids first before calling the correct user control to be loaded based on updated session ids.

Any info will be greatly appreciated.

Thanks in advance,
RJ
RJ
Top achievements
Rank 1
 answered on 02 Jun 2014
4 answers
49 views
Greetings 

I have a very strange behavior with the HTML5 Report Viewer. The report display in proper size in any other Report Viewer. However, when it comes to displaying the chart (and only chart)objects or elements that are full in size along with the page, the reportviewer is cutting the chart height and width and is not displaying the chart completely.

When it comes to export,  the application even export in the proper size as it displays in other report viewers. However, it is just display wrong.

Please see the below example.


In my scenario the page settings are 
Landscape - Left 0.5, Right 0.5
and the Chart object Display is given the following sizing 
Telerik.Reporting.Drawing.Unit Height = new Telerik.Reporting.Drawing.Unit(15, ((Telerik.Reporting.Drawing.UnitType)(Telerik.Reporting.Drawing.UnitType.Cm)));
            Telerik.Reporting.Drawing.Unit Width = new Telerik.Reporting.Drawing.Unit(25, ((Telerik.Reporting.Drawing.UnitType)(Telerik.Reporting.Drawing.UnitType.Cm)));
 
_chart.Size = new Telerik.Reporting.Drawing.SizeU(Width, Height);
            _chart.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.32, ((Telerik.Reporting.Drawing.UnitType)(Telerik.Reporting.Drawing.UnitType.Cm))), new Telerik.Reporting.Drawing.Unit(1.8, ((Telerik.Reporting.Drawing.UnitType)(Telerik.Reporting.Drawing.UnitType.Cm))));

And again, the report display perfectly in any other reportviewer and at export time

Please any insight, idea, clue or guidance will be fully appreciate it.

Thanks

Stef
Telerik team
 answered on 31 May 2014
2 answers
344 views
Hello!
I want to display a Objet List on Telerik report, but I cant.
I try to use Subreport, but dont resulted.
How I do?

Objet:
    Public Property W As New List(Of WW)
    Public Property X As New List(Of XX)

    Public Class XX
        Public Property NomeEscola As String
    End Class

    Public Class WW
        Public Property NomeLingua As String
    End Class




Stef
Telerik team
 answered on 31 May 2014
5 answers
395 views
Hello,

I try build a simple report and get the user the ability to print it. The
report is displayed nice contains above the toolbar But the Print button in
toolbar doesn't work as I expected. I need the ability to direct print the
displayed report by click on the print button.

I see in documentation a section of direct print:

But it is impossible for
me to do this long procedure for each end user. My web site doesn't contain any
installation procedure and I don't want that our using in Telerik reporting
tool will be the trigger for start such procedure.

Is there any other
solution for directly and simple print the report in client side?
Thanks,  



Stef
Telerik team
 answered on 31 May 2014
1 answer
200 views
I have implemented a sample report and can show the report using the HTML5 report viewer.  I would like to include the viewer within my own page which has other HTML elements included.  The attached screen shot shows the 'Loading...' div within my own page.  When the report is loaded in the viewer, the viewer takes the full screen and therefore my other page elements are no longer shown.

What is needed so that the HTML5 report viewer only takes up the area of the containing div such that the rest of the page is still available to the user?

Product: DevCraft Complete Q1 2014
Report Viewer : 8.0.14.507
Kendo UI: 2014.1.416


Joseph
Stef
Telerik team
 answered on 31 May 2014
1 answer
105 views
I am working on a Demo to give to client for approval of using telerik report in MVC4 web site. I am facing an issue in passing parameter and refresh report.
Requirement as per client in all reports that on page load report will be loading with default values for filter and after that user can select any values in any filter criteria and click on button in that case report needs to be updated on the basis of filter criteria. Currently i am using Reportviwer with html helper Please help me your earliest i have to give this Demo to client on Thursday evening.

@{
   var typeReportSource = new TypeReportSource() { TypeName = "ClientTrackingReport" };
    typeReportSource.Parameters.Add("X", Model.X);
    typeReportSource.Parameters.Add("Y", Model.Y);
    typeReportSource.Parameters.Add("Z", Model.Z);
    typeReportSource.Parameters.Add("A", Model.A);
    typeReportSource.Parameters.Add("Datefrom", Model.From);
    typeReportSource.Parameters.Add("DateTo", Model.To);   
}
 @(Html.TelerikReporting().ReportViewer()
       .Id("reportViewer1")
       .ServiceUrl("/api/reports/")
       .TemplateUrl("../ReportViewer/templates/telerikReportViewerTemplate.html")
       .ReportSource(typeReportSource)
       .ViewMode(ViewModes.INTERACTIVE)
       .ScaleMode(ScaleModes.SPECIFIC)       
       .Scale(1.0)
       .PersistSession(true)
)



Stef
Telerik team
 answered on 30 May 2014
4 answers
277 views
I am using Q1 2014 telerik controls and  i am having a problem in exporting my report to CSV format.
As my exporting language is 'Thai' but after exporting it is giving me garbage values. Please find the attachment to have a clear look.
Previouslly I wasnt having this issue. As i was using the telerik reports but with previous version.

any help would be Appreciated.


Best Regards,
Nauman Usmani
Nauman
Top achievements
Rank 1
 answered on 30 May 2014
3 answers
168 views
I have a report parameter that as its available values has a stored proc, which returns a set of (ID, Name) records.
The is a multi value parameter, so the user selects 1 or more of the items in the list.
So far so good.
The selected IDs are then passed to a Stored Proc when the report is rendered, and all is well and good.
However...In the header of each page, I want to show the parameters that were used, but not the IDs, the Names.
You can only really use parameters in the header.
So basically I want a second parameter to get the concatenated list of Names selected from the first parameter.

For instance, if the data set is

17 Oslo
22 Stockholm
31 Copenhagen

And the user selects Oslo and Stockhom, then the report sp is passed 17, 22, but I want the header to show "Oslo, Stockholm", not "17, 22".... And as an additional constraint this is for a TRDX with no C# coding.



John
Top achievements
Rank 1
 answered on 29 May 2014
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?