Telerik Forums
Reporting Forum
5 answers
612 views
Hi,

I am trying to integrate Telerik reports into my existing MVC web application.
I didn't create new class library for reports, just added a new reports folder to the existing project.
When i add data sources to the reports with sql server authentication mode, the connection strings dont get added to web.config file.
Also in the Data Sources configuration wizard i see past connection strings which are not present in web.config file.

Where file are the connection strings created using wizard saved to?
How to delete the old connection strings?

Also i created a connection string with the same name as that in web.config file. but i get the error shown in attached file when i try to add fields onto report.

Thanks.
Srinath.
Stef
Telerik team
 answered on 14 Jun 2017
7 answers
249 views
Does Telerik have any plans for supporting PDF/A standard, in the Telerik Reporting tools ?

We have based our PDF's on your component, but are now in the situation, where we have to support the PDF/A standard.
Katia
Telerik team
 answered on 14 Jun 2017
3 answers
226 views
There appears to be a bug in the HTML Preview rendering engine.

We have a report that includes a column returning a moderately long string (<120 characters).
The TextBox CanGrow property for that column is set to True.
Whether MultiLine is set to True or False, the TextBox does NOT grow vertically in HTML preview.  It does in the regular Preview.
The detail section is contained within a label group for the column headers.

When I view source, for the TextBox in question, I see class="s6" style="position:absolute;overflow:hidden;left:1px;top:248px;width:326px;height:26px;"
where class .s6 = {font-family:Tahoma;font-size:8pt;color:Black;word-wrap:break-word}

Version = 5.3.11.1116.
When I save the source and open it in Ie9 or Firefox, it appears to render correctly. 
I haven't yet tested the live-rendered report in a browser.
Stef
Telerik team
 answered on 14 Jun 2017
1 answer
266 views

I'm working on a proof of concept using Telerik Reporting. The requirements are that the report be loaded from an XML source and provide that report with data via a DataTable (from the System.Data namespace). The problem is that my data isn't showing up in my report. The generated report has table in it and it has the right number of rows but there is no information in any of the rows. Below is a copy of the code I'm using to generate the report:

XmlReaderSettings settings = new XmlReaderSettings
{
    IgnoreWhitespace = true
};
 
using (StringReader sr = new StringReader(template.Layout)) //template.Layout contains a string which is the report XML
using (XmlReader xmlReader = XmlReader.Create(sr, settings))
{
    ReportXmlSerializer xmlSerializer = new ReportXmlSerializer();
 
    TelerikReport reportInstance = (TelerikReport)xmlSerializer.Deserialize(xmlReader);
    DataSet data = BuildDataSet(template, parameters); //Retreives the data from the database in a DataSet
 
    ObjectDataSource dataSource = new ObjectDataSource
    {
        DataSource = data.Tables[0]
    };
 
    reportInstance.DataSource = dataSource;
 
    return reportInstance;
}

The XML for the report (and the value of template.Layout) can be found here. The generated PDF shows 3 rows which is the same number of rows that the DataTable has. That means the DataTable is being read correctly but the data isn't getting parsed correctly for some reason. If I can get this working it would make Telerik the prime candidate for the final version of the software.

Katia
Telerik team
 answered on 13 Jun 2017
6 answers
298 views
This is my first time to use Telerik reporting and I just upgraded from Visual Web Developer Express to VS 2012.

I have a web application project.

I've created a single report, bound to a sql data source, no parameters. I can preview the report and see all the data.
Report name: trpt01 - which creates a trpt01.cs and trpt01.resx file.

I've added a reportviewer to the page named rptview.

I have a button on the page and it runs the code to display the report "trpt01" in rptview.

I see examples using UriReportSource and InstanceReportSource. This seems very simple but I cannot get it to run.

Telerik.Reporting.UriReportSource ur = new Telerik.Reporting.UriReportSource();
ur.Uri = "trpt01.cs";
rptview.ReportSource = ur;
rptview.RefreshReport();

If I change ur.Uri to a name I know does not exist.. ie: "abc" or "abc.cs" - the reportviewer gives a "Generating Report" message. I've left it running and it continued for several minutes. If I give it the name "trpt01.cs" it runs and returns a "Data at the root level is invalid. Line 1, position 1." error message.

What am I missing? How do I refer to a report that I have in the root of my project?

Thanks.
Stef
Telerik team
 answered on 13 Jun 2017
1 answer
199 views
Hi
I am using Telerik Reporting Q1 2015 .
In grouping, I saw the grouped columns were showing on left side always with the same look . Can i move it to right side?
Stef
Telerik team
 answered on 12 Jun 2017
5 answers
344 views

Hi Guys,

I have created a class library for reporting only and used telerik.reporting version 10.2.16.914 in my Class library(myReportingDLL). I referenced my Class Library (myReportingDLL) to a Web Project and Web project have telerik.reporting version 10.1.16.504.

Previously, Web project not giving any error and report runs but now it is giving an error; 

"could not load file or assembly 'telerik.reporting, version=10.2.16.914, culture=neutral, publickeytoken=a9d7983dfcc261be' or one of its dependencies. the located assembly's manifest definition does not match the assembly reference. (exception from hresult: 0x80131040)"

Please advise.

Stef
Telerik team
 answered on 12 Jun 2017
5 answers
1.5K+ views

Type mismatch in function arguments. Cannot find an overload of the function Join() that accepts arguments of type (String, String).

 

Katia
Telerik team
 answered on 12 Jun 2017
2 answers
341 views

Hi,

I'm using Visual Studio 2015 w/Telerik R1 2017 & SQL Server 2012.

 

Having a strange issue when configuring a report source.

1. Under Configure data connection choose an existing (good) data connection.

2. Click next and select 'Use as Shared Connection'

3. Click next and enter my SQL statement.  The first statement is an @declare.  Followed by some select statements to get the data.  It's a fairly simple 6-table join (works in SSMS).

4. Open the query builder.  Gives message 'The Declare SQL construct or statement is not supported.'  Click Ok and then Execute Query.  The same records are returned as when running the query in SSMS.

5. After configuring the data source and design time parameters I get to the preview screen.

6. Click Execute Query.  Get message 'The variable name @CustomerNumber' has already been declared...'  It's using the same parameters as step 4.

 

Questions:

In step #4 the SQL query runs in spite of the message 'The Declare SQL construct...'.  Does this mean the query is Ok or not?  If not Ok then why is data returned from the query builder?  The SQL is valid in SSMS so I would expect the same to be used when in the designer.  The message 'The Declare SQL construct...' is troubling as this is a normal part of SQL Server.  So does the Telerik designer support the FULL implementation of SQL Server?

In step #6 the error message is misleading.  The variable is only declared one time.  How can I get past the error message?

 

Thanks,

Jim B

Stef
Telerik team
 answered on 12 Jun 2017
2 answers
102 views

Any chance to have a responsive html report, I didn't find any responsive report in demos!

Thanks in advance

Stef
Telerik team
 answered on 12 Jun 2017
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?