Telerik Forums
Reporting Forum
1 answer
249 views
Hi friends,

I want to mange the visibility of some element(ts) using the parameter value True/False" being passed.



Thanks,
-Aarsh
here are my reports: http://sdrv.ms/T95zWi
Steve
Telerik team
 answered on 15 Oct 2012
1 answer
219 views
Hi everybody,

i need to make an application for reporting in telerik. I need to pass the dataset using SQL Server query statement.
Is there any example to set the dataset manually on c# and also set the design report manually on c# (like visibilty or the value).

Can anyone help me please?

Thanks,
Dhenny
Steve
Telerik team
 answered on 15 Oct 2012
1 answer
101 views
Hi,

How can I load reports to a reportbook by path name programatically?
Peter
Telerik team
 answered on 15 Oct 2012
1 answer
65 views
How do I add a support page to end of the report.  Heard something about using the report book, like to see an example on how to do this.  As much detail as possible, thanks in advance.
Peter
Telerik team
 answered on 15 Oct 2012
6 answers
382 views
Hi. I have built a DLL that generates  a PDF. The problem is that the error message "PDF rendering format is not available" appears, unless the Telerik dlls are referenced in the calling application.

How do I need to proceed?

Here is the code in the Calling Application:
            byte[] b = conv.GeneratePDF();  
 
            FileStream oFile = File.Open("C:\\test.pdf",FileMode.OpenOrCreate,FileAccess.Write,FileShare.None);  
            oFile.Write(b, 0, b.Length);  
            oFile.Close(); 

This is the code that is failing in the DLL:
        public byte[] GeneratePDF(List<FieldDescriptor> fieldList, DataTable dtFields, string reportName)  
        {  
            ReportDataTable = dtFields;  
            FieldList = fieldList;  
            ReportName = reportName;  
            Telerik.Reporting.Report report = GetReport();  
              
            string mimeType = string.Empty;  
            string extension = string.Empty;  
            Encoding encoding = null;  
            byte[] buffer = Telerik.Reporting.Processing.ReportProcessor.Render("PDF", report, null, out mimeType, out extension, out encoding);  
 
            return buffer;  
 
        }  
 

Of course, it fails on the "Render" call.
Mandar
Top achievements
Rank 1
 answered on 15 Oct 2012
3 answers
324 views
I have a report where I display the data in 2 columns, side by side.
In the group section I said to do a pagebreak when the group item changes.
However, the instead of going to the next page, it goes to the next column.

Therefore I tried to give a page break before and after the group. But it didn't help either.

Any idea on how to fix this bug?

Thanks.
Steve
Telerik team
 answered on 15 Oct 2012
2 answers
359 views
Hi

Is that in any way possible to set the detail section to a specific height and keep it even though there is not enough data in the child list to expand it? 
I have a fix layout, where the detail section has to have a background company logo that has to be shown on all pages.

As of now, when the list in the detail section expands to a second page, and takes up only one row, the rest of the detail section on that page is blank, and no logo is shown.

Is there a way to overcome this behaviour? (Please don't say it's design behavior ;) )

Thanks.
Steve
Telerik team
 answered on 15 Oct 2012
2 answers
176 views
Hi guys, just wondering if the telerik reporting pack can support Dynamic columns via the use of Pivot query(row data to column header)

i already have my SQL code set, and i cant have both Crystal Reports and SSRS work for me..

Let me know thank you!

Glenn
Top achievements
Rank 1
 answered on 13 Oct 2012
2 answers
183 views
When I run my application inside of Visual Studio 2010 the Ajax Report Viewer works beautifully.  When I run the same exact code inside of IIS on Windows 7, I get a "503 Service Unavailable" error out of IIS.  IIS isn't writing any log entries to any of the logs (event viewer, access logs, failed request trace logs, etc.).

I have the same exact code working on a Windows 2008 Server with no problems.

Is there something special that needs to be done for deploying the Telerik Report Viewer on Windows 7?

Is there any way to find out what is causing the 503 error?

Chris
Top achievements
Rank 1
 answered on 12 Oct 2012
1 answer
110 views

 We are getting Error

No parameterless constructor defined for this object. at Telerik.ReportViewer.WebForms.SerializableReportInfo.GetReport()

at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Telerik.ReportViewer.WebForms.SerializableReportInfo.GetReport()
at Telerik.ReportViewer.WebForms.SerializableReportDocument.GetDeserializedReport()
at Telerik.ReportViewer.WebForms.SerializableReportSourceWrapper.get_ReportSource()
at Telerik.ReportViewer.WebForms.ParametersPage.get_ReportDocument()
at Telerik.ReportViewer.WebForms.ParametersPage.get_ParamsManager()
at Telerik.ReportViewer.WebForms.ParametersPage.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at Telerik.ReportViewer.WebForms.ParametersPage.OnPreLoad(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Binding datatable to telerik:ReportViewer

using Telerik.Reporting;
/// <summary>
/// Summary description for VersionHistory.
/// </summary>
public partial class RptVersionHistory : Report
{
public RptVersionHistory(DataTable dtable )
{
//
// Required for telerik Reporting designer support
//
InitializeComponent();
this.textBox8.Name = "Title";
this.textBox2.Name = "Version";
this.textBox3.Name = "Created By";
this.textBox7.Name = "Created Date";
this.textBox5.Name = "Modified By";
this.textBox4.Name = "Modified Date";
this.textBox1.Name = "Title";
this.DataSource = dtable;
//
// TODO: Add any constructor code after InitializeComponent call
//
}

In sharepoint application page in Page_Load calling as..

if (!this.IsPostBack)
{
InstanceReportSource reportSource = new InstanceReportSource
{ ReportDocument = new RptVersionHistory(this.DataTable) };
this.ReportViewer1.ReportSource = reportSource;
}

It’s working fine in Dev. Server but not on production it showing above error anyone knows how to find out error?

Chavdar
Telerik team
 answered on 12 Oct 2012
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?