Telerik Forums
Reporting Forum
1 answer
85 views

Can the Telerik Reporting create a report that will, per programming logic remove a "panel" of a report (with this "panel" containing information that is only displayed under certain circumstances):  This "inclusion" or "removal" would be based on c# code that creates logic based on data from the datasource's data value(s)?

Maybe what I refer to as a "panel" is a "sub report"...you can tell me in your lingo...

For example, there might be one section of a report that displays if the person is over age 65.  Otherwise, that section of the report is not displayed (and the vertical white space is closed to 0"--meaning there is no vertical white-space where this report information would have been displayed).

 

Peter
Telerik team
 answered on 05 Jul 2011
1 answer
95 views
Title might indicate something different but what i am looking is run time value changing report for example i am showing CPU usage by each process running hence process number and CPU usage is gonna change every micro seconds hence i need to update chart or graph as per new records....
Is there any why i can do this using Telerik reporting.
Any example or reference link will help...
Thanks.....
Peter
Telerik team
 answered on 05 Jul 2011
1 answer
118 views
Hi

In my report, i want to page break using a groupby section. But, if i give the page break as "before", then the report is creating blank space between Report Header and the GroupStart, so the main data is starting from 2nd page. If I use Page Break "after", then i m getting one unncessary blank page at the end of the report.

Please let me know how do I avoid this extra blank page?

Thanks in advance
Ravindra 
IvanDT
Telerik team
 answered on 05 Jul 2011
1 answer
121 views
I'm in the process of evaluating the Telerik reporting tool and am hitting a bit of a wall with something that I thought woudl be reasonably easy.  We currently use a generic class that holds an object array containing the data that is to be presented in a grid in the UI.  We then use an indexer on the class to access the appropriate value by positional index.  Since our end users have extensive flexibility in which columns can be included in their grids/reports and in what order, this is the simplest way for us to have a bindable object that does not have explicit property names.

We'd like to reuse this same object for a report, but I cannot for the life of me figure out how to set up an expression for a group/field that can access the indexer on the underlying business object.  If I use the normal c# indexer notation of, for example, "=[2]" then I get the error "The expression contains object '2' that is not defined in the current context." 

I tried adding a property called "Values" that exposed the object array and setting the expression to "=Values[2]" but that didn't help either.  Got the error "Missing operator before [2] operand."  Also tried "=Values.2" and that didn't help either ("Cannot interpret tocken '2' at position 7.").

Everything works find if I create explicit properties on the business object to expose the values in the array, but as I noted previously, this isn't a feasible solution.  So is this simply not possible with Telerik Reporting, or am I missing a subtle syntactical requirement?  Am I stuck having to take my existing list of business objects and convert them into a data table to use as the report's Data Source?

Peter
Telerik team
 answered on 05 Jul 2011
1 answer
859 views
Hi,

I'm looking at your demos... the Product Sales Per Period... and wanting to create something similar.

See attached.

Can the report sample that I've attached (layout only) be done?

Is there any sample code you could provide to create something similar.

Thanks
Mike
Peter
Telerik team
 answered on 05 Jul 2011
2 answers
115 views
hello and thanks in advice

is there any way to localize the label associated to a report parameter?
i'm using  version Q1 2011 5.0.11.510

fabio
fabio bongiovanni
Top achievements
Rank 1
 answered on 05 Jul 2011
1 answer
102 views
Good Day All

i have always had a report that is working. i might have play with it around a bit. i can access the url

http://myserver:1111/myapp/ReportService.svc


and it working, but my report viewer is showing me a white line not a report.

I have attached the screenshot and the xaml looks like this


<my:ReportViewer Height="285" HorizontalAlignment="Right" Margin="0,-5,102,0" Name="reportViewer1" Report="ReportLibrarydev.ReportLibrary,ReportLibrarydev" ReportServiceUri="http://myserver:1111/myapp/ReportService.svc" VerticalAlignment="Top" Width="480" ZoomPercent="50" />


thanks


Steve
Telerik team
 answered on 05 Jul 2011
3 answers
187 views
Good Day Guys

Months  ago i posted this thread

http://www.telerik.com/community/forums/reporting/telerik-reporting/silverlight-report-dont-show-a-basic-barcode-report.aspx


and the problem was that my barcode does not show. I hosted my application in IIS Service(Not my machine) and i get the Following Error,

The type 'Telerik.Reporting.Service.ReportService, Telerik.Reporting.Service, Version=5.0.11.316, Culture=neutral, PublicKeyToken=a9d7983dfcc261be', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.



if you look at the thread i created you will notice that i am familiar with the Endpoint article.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <configSections>
    <sectionGroup name="system.serviceModel">
      <section name="domainServices" type="System.ServiceModel.DomainServices.Hosting.DomainServicesSection, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" allowDefinition="MachineToApplication" requirePermission="false" />
    </sectionGroup>
  </configSections>
  <connectionStrings>
    <add name="ReportLibrarydev.Properties.Settings.Ecashcdb_devmotovate" connectionString="Data Source=oops;Initial Catalog=oops;Persist Security Info=True;User ID=oops;Password=oops" providerName="System.Data.SqlClient" />
    <add name="ReportLibrarydev.Properties.Settings.oops connectionString="Data Source=oops;Initial Catalog=oops;Persist Security Info=True;User ID=oops;Password=oops" providerName="System.Data.SqlClient" />
    <add name="FilesDataBaseConnectionString" connectionString="Data Source=oops;Initial Catalog=oops;Persist Security Info=True;User ID=oops;Password=oops" providerName="System.Data.SqlClient" />
  </connectionStrings>
  <system.web>
    <httpRuntime maxRequestLength="2147483647" executionTimeout="2147483647" />
    <identity impersonate="true" />
    <httpModules>
      <add name="DomainServiceModule" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="DomainServiceModule" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="Session" type="System.Web.SessionState.SessionStateModule" />
    </httpModules>
    <compilation targetFramework="4.0" />
    <globalization culture="auto" uiCulture="auto" />
    <!-- Enable session state for all the pages in the Web application. -->
    <pages enableSessionState="true" enableViewState="true" enableViewStateMac="true" validateRequest="false" />
  </system.web>
  <system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding name="BasicHttpBinding_ILogger" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
          <security mode="None">
            <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
            <message clientCredentialType="UserName" algorithmSuite="Default" />
          </security>
        </binding>
        <binding name="BasicHttpBinding_IBLLService" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
          <security mode="None">
            <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
            <message clientCredentialType="UserName" algorithmSuite="Default" />
          </security>
        </binding>
      </basicHttpBinding>
    </bindings>
    <client>
      <endpoint address="http://XXXXXXXXX/BusinessLayer/BLLService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IBLLService" contract="Business.IBLLService" name="BasicHttpBinding_IBLLService" />
      <endpoint address="http://XXXXXXXXX/Logger/Logger.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ILogger" contract="Logger.ILogger" name="BasicHttpBinding_ILogger" />
    </client>
     
    <services>
      <service name="Telerik.Reporting.Service.ReportService" behaviorConfiguration="ReportServiceBehavior">
 
        <endpoint address="" binding="basicHttpBinding" contract="Telerik.Reporting.Service.IReportService">
          <identity>
            <dns value="localhost" />
          </identity>
        </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="">
          <serviceMetadata httpGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="true" />
        </behavior>
        <behavior name="ReportServiceBehavior">
          <serviceMetadata httpGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="true" />
        </behavior>
      </serviceBehaviors>
      <endpointBehaviors>
        <behavior name="WebBehavior">
          <webHttp />
        </behavior>
      </endpointBehaviors>
    </behaviors>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
  </system.serviceModel>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <directoryBrowse enabled="true" />
       
  </system.webServer>
</configuration>


Thanks
Steve
Telerik team
 answered on 05 Jul 2011
3 answers
1.3K+ views
Hello,

I have a multiline text box that I am filling with data from my SQL Server.  The contents of this field contain paragraphs of text with line breaks.  When I preview the report or run the project and view in the "Report Viewer" the line breaks are not shown.  If I look at the HtmlPreview I do see the line breaks as expected.  If I display the contents of the text box to the debugger using System.Diagnostics.Debug.Print I can see the linebreaks fine in the output window. If I export the report to PDF, I also see the line breaks. 

So it seems that the data is good but I have problems when viewing the the report viewer or preview mode.  Any suggestions on what may be going on here?

Thanks,

Chris
Ryan
Top achievements
Rank 1
 answered on 05 Jul 2011
2 answers
152 views
Hi I have a quite simple report with 3 panels each panel has two textboxes: a title texbox with a static small text and a data bound text box that will receive a relatively large text at runtime: almost half a page of text.
Each panel is configured with KeepTogether so that the title is kept on the same page as the text.
All the three panels are in the detail section. they are packed vertically and take almost all the report width.
the report is bound to a list with just one object. So I only have a report with one detail section containing three block of texts.

When rendering in Silverlight viewer, the text overlaps.
When rendering in the pdf the text is truncated.
In both rendering, the computed size of the textbox does not seem enough to hold all the text.

Do you have any documentation, samples with large text? what the rendering engine is supposed to do.
Is there any flag to tell the rendering engine to allow breaking a textbox in the middle instead of having a large blanc space on the previous page?

Any help is welcomed.
Thank you.
Peter
Telerik team
 answered on 04 Jul 2011
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?