Telerik Forums
Reporting Forum
19 answers
676 views
Hello,

I am looking ahead for options in telerik reporting tool that can help me digitally sign a PDF generated from the telerik report.

Please give me your suggestions for means to achieve this.

Thanks,

Amit
Olivier
Top achievements
Rank 2
 answered on 22 Dec 2015
2 answers
135 views

 

I want desing trdx to image:

 

Stef
Telerik team
 answered on 22 Dec 2015
1 answer
337 views

Hi,

I am trying to show the teleik report with objectdatasource available only at runtime. 

Following is the code which I used. 

                             object jsonobj = getJsonObject();

                            SearchbyCondition oSearch = new SearchbyCondition();
                            List<SearchbyCondition> oListCond = oSearch.getSearchbyConditionReportFields(jsonobj);

                            // Creating and configuring the ObjectDataSource component:
                            Telerik.Reporting.ObjectDataSource objectDataSource = new Telerik.Reporting.ObjectDataSource();
                            objectDataSource.DataSource = oListCond;// GetData returns a DataTable

                            // Creating a new report
                            Telerik.Reporting.Report report = new Telerik.Reporting.Report();
                            
                            // Assigning the ObjectDataSource component to the DataSource property of the report.
                            report.DataSource = objectDataSource;


                            System.Xml.XmlReaderSettings settings = new System.Xml.XmlReaderSettings();
                            settings.IgnoreWhitespace = true;
                            string localPath = Request.ApplicationPath + "Report/" + ReportName;
                            localPath = Server.MapPath(localPath);
                            XmlReader xmlReader = XmlReader.Create(localPath, settings);
                            Telerik.Reporting.XmlSerialization.ReportXmlSerializer xmlSerializer = new Telerik.Reporting.XmlSerialization.ReportXmlSerializer();
                            report = (Telerik.Reporting.Report)xmlSerializer.Deserialize(xmlReader);

                            // Use the InstanceReportSource to pass the report to the viewer for displaying
                            Telerik.Reporting.InstanceReportSource reportSource = new Telerik.Reporting.InstanceReportSource();
                            reportSource.ReportDocument = report;

                            // Assigning the report to the report viewer.
                            ReportViewer1.ReportSource = reportSource;

                            // Calling the RefreshReport method in case this is a WinForms application.
                            ReportViewer1.RefreshReport();

I can see the report but without any data.

I tried using value="[Fields.BOPropertyName]" 

value="Fields.BOPropertyName" as well in trdx file

 In trdx file how can I give Objectdatasource TAG as while design it is not available.

as mentioned at http://www.telerik.com/help/reporting/connecting-to-data-working-with-data-at-design-time.html

"Data source available only at runtime" passage.

 

Katia
Telerik team
 answered on 22 Dec 2015
9 answers
1.9K+ views
I've used the designer with SQL and that works fine but I need to use a business object as a data source. I see under the Data tab the Object Data Source but Available data source types is empty (not surprisingly). How can I tell the designer where to find my objects?

Thanks,
Don Rule
http://tranlslationalsoftware.com

OK, I think that I have found a section of the config file but still not able to see 

<Telerik.Reporting>
<AssemblyReferences>
<add name="C:\PortalApp\ReportLibrary\bin\Debug\ReportLibrary.dll" version="1.0.0.0" />
      <add name="C:\PortalApp\ReportLibrary\bin\Debug\CdssModels.dll" version="1.0.0.0" />
      <add name="C:\PortalApp\ReportLibrary\bin\Debug\Utilities.dll" version="1.0.0.0" />
</AssemblyReferences>
</Telerik.Reporting>
Stef
Telerik team
 answered on 21 Dec 2015
1 answer
396 views

If I have a table on a report that I want to be filled with lets say 10 rows but if the data source goes over that amount I want to move the remainder of the data to another control on a different page. Is that possible? The idea is somewhat like and overflow but to a different location.

Thank You

Stef
Telerik team
 answered on 21 Dec 2015
1 answer
219 views
Is there any sample on how to use Report viewer with Angularjs and Webapi project?and also how to bind Report viewer with POCO object returned by webapi project?
Stef
Telerik team
 answered on 21 Dec 2015
3 answers
691 views

I'm trying to create a compilation of several instances of the same report using a ReportBook. 

 The issue I'm having is that although I'm instantiating separate instances of the report and setting the date parameter for each, all the reports are returning data for the same date, rather than for their individual parameter dates.

 

My code:

ReportBook reportBook = new ReportBook();
 
reportBook.Reports.Add(new TestReport());
reportBook.Reports.Add(new TestReport());
 
reportBook.Reports[0].ReportParameters["date"].Value = new DateTime(2015, 10, 1);
reportBook.Reports[1].ReportParameters["date"].Value = new DateTime(2015, 10, 2);
 
 
var instanceReportSource = new InstanceReportSource();
instanceReportSource.ReportDocument = reportBook;
reportViewer.ReportSource = instanceReportSource;
 
reportViewer.RefreshReport();

I'm working in C#; the report is included in the Visual Studio project as an object (not a seperate .trdx), with an ObjectDataSource using an externally referenced Entity Framework repository; the DataMember is a method of the EF repository that is essentially 'GetThingsForDate(DateTime date)'.

 

Any insight much appreciated!

Tristan
Top achievements
Rank 1
 answered on 21 Dec 2015
4 answers
915 views

Hi all,

 

Our customer is a big international company. As a result, the reports will (and have to) support a wide range of characters (including CJK ones).

 

I investigated the problem and found out the following info:

1. The Telerik support Team recommends to use Arial Unicode MS font to rich the goal ( Telerik Forum Thread 1, Telerik Forum Thread 2);

2. There is a problem using the Arial Unicode MS font as the reports' default font: Arial Unicode MS does not support Bold style natively, as a result we can't embed the glyphs to the generated pdf file ( Telerik Forum Thread 3 ). That means, the font have to be installed on the users' PCs;

3. Arial Unicode MS font is not free ( Monotype Co. website with prices ), but it is distributed with Microsoft Office (  Arial Unicode MS );

4. There is a special "Server License" mentioned on the Font Owners' website, saying, one has to buy it if he is going to "use it for Internet-based applications" and to "use font on server to generate reports" (please find an image attached). 4 cores server => $7,560 (huh?)

5. The Telerik support Team recommends to install MS Office on the server (as I understood from the context here: Telerik Forum Thread 2 ).

 

So... Could you please clarify several things?

1. Do we have to buy the font's Server License or it is just enough to install the MS Office on the server (and on the users' PCs, because of the 2nd point above)?

2. Are you sure? :)

 

I really appreciate any help you can provide.

 

Regards,

Constantine.

bk
Top achievements
Rank 1
 answered on 21 Dec 2015
1 answer
130 views

I want file trdx connect sql stored produre

 

 <DataSources>
    <SqlDataSource ConnectionString="Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString" SelectCommand="SELECT InvoiceDetails FROM dbo.POS_Invoice WHERE LEN(InvoiceDetails) > 0" Name="sqlDataSource1" >
      <Parameters>
        <SqlDataSourceParameter DbType="String" Name="@CompanyId">
          <Value>
            <String>=Parameters.CompanyId.Value</String>
          </Value>
        </SqlDataSourceParameter>
        <SqlDataSourceParameter DbType="String" Name="@BranchId">
          <Value>
            <String>=Parameters.BranchId.Value</String>
          </Value>
        </SqlDataSourceParameter>
      </Parameters>
    </SqlDataSource>
  </DataSources>

 

thank a lot

Stef
Telerik team
 answered on 18 Dec 2015
3 answers
427 views
Howdy,

I am trying to see if a way currently exists to allow dynamic groupheader text changes.  Specifically, I have the following scenario:

I am using C# in a Windows environment with IE8.

I have a subreport that has several lines of header followed by a HtmlTextBox that contains text entered by the user and can span to more than one page.  Users have requested that when the print takes more than 1 page that not only does the groupheader section repeat on every page (which I was able to do via the PrintOnEveryPage property) but that the pages after the first one have a <continued> added to them.

Is there a way to do this that I haven't been able to find.  If not, is it possible in a later release?

Thanks
Hinata
Top achievements
Rank 1
 answered on 18 Dec 2015
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?