Telerik Forums
Reporting Forum
2 answers
156 views
Hi,
I want to print user created reports in a Silverlight application. The reports will be created by users with Report Designer and imported in the application. Data will come from a database in the form of an IList of some business objects. I created a custom report resolver which returns an InstanceReportSource, but I get the following error: "ReportSource type address resolution not implemented.". Can you tell me if InstanceReportSource is supported in Q2 2012 and how should I use it?
Here is the code which creates the report:
public class ReportResolver : IReportResolver
{
    private readonly IReportResolver _parentResolver;
 
    public ReportResolver(IReportResolver parentResolver)
    {
        _parentResolver = parentResolver;
    }
 
    public ReportSource Resolve(string report)
    {
        ReportSource reportSource = null;
 
        reportSource = GetReportSource(report);
 
        if (reportSource == null && _parentResolver != null)
            reportSource = _parentResolver.Resolve(report);
 
        return reportSource;
    }
 
    public ReportSource GetReportSource(string report)
    {
        var settings = new XmlReaderSettings {IgnoreWhitespace = true};
 
        using (var xmlReader = XmlReader.Create(@"d:\repot.trdx", settings))
        {
            var xmlSerializer = new ReportXmlSerializer();
 
            var reportDocument = (Report) xmlSerializer.Deserialize(xmlReader);
 
            // Data will be read from database.
            reportDocument.DataSource = new List<int> {1, 2, 3};
 
            var reportSource = new InstanceReportSource {ReportDocument = reportDocument};
 
            return reportSource;
        }
    }
}
Alex
Top achievements
Rank 1
 answered on 03 Jul 2012
3 answers
244 views
i have a list of items that i want to render in one landscape page, right now the list shows like this

item1
item2
item3
item4
item5
....
.

i want to list the items until the bottom of the page then continue again from the top like so

item1    item4  item7
item2    item5  item8
item3    item6  item9

so i can have all items in One Page only

how can i achieve this ?

(i am using Q2 2012)


Steve
Telerik team
 answered on 03 Jul 2012
1 answer
116 views
Hi, I can't able to see the content inside zoom combobox of the Telerik reporting... I need to scroll the content to see this. For example if 100% means i seen only 0 %.  I need to click the content and scroll the content to see the full content.
Is it possible to increase width of zoom combobox in the telerik reporting. So that i can see the full content in combobox.

if you see the attached file, the zoom content is 100%. but it visible only 0 %. I need to increase width size of the zoom combobox.

Thanks.

Prabakaran
Steve
Telerik team
 answered on 02 Jul 2012
1 answer
107 views
Dear All,

Any help I would every appreciate.

I'm using IIS6, .Net4 32bit, Telerik web control and report version 6.1.12.611.

There are 4 params in the reports. 2 are hidden and 2 are datetime params.
I have checked my cookies, all have values.

I call this code to view the report:

Dim report As New Telerik.Reporting.InstanceReportSource
report.ReportDocument = New ReportHistory
 
With report.Parameters
    .Add("pUserName", Request.Cookies("username").Value)
    .Add("pUserID", Request.Cookies("senderid").Value)
    .Add("pFromDate", Now.Date.AddDays(-30))
    .Add("pToDate", Now.Date)
End With
 
ReportViewer.ReportSource = report
ReportViewer.RefreshReport()


Most of time I get the following error. 

Object reference not set to an instance of an object.

at Telerik.Reporting.Processing.ParametersManager`1..ctor(IReportDocument definition, ICollection`1 parameters)
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)

OR

Report is unavailable or session has expired (rarely have this error)
Steve
Telerik team
 answered on 02 Jul 2012
4 answers
230 views
Hi

Whenever I drop a chart onto my Detail section, it automatically opens the Chart Wizard. Even if I right click the chart and explicitly select Properties, it will still open the Chart Wizard. I am unable to add/bind to Data Sources using the wizard. Is there any way to bypass this issue and build charts that will populate dynamically?

I am building Telerik Reports in VS .NET 2010. Opening the Report Wizard causes my VS crash and so far I have been building reports without the Wizard. I am also unable to run the Telerik Report Designer on my system.

Thanks

Radhika
Steve
Telerik team
 answered on 02 Jul 2012
0 answers
102 views
Hy Support,

How do I prevent my column grouping of months, when the grouping occurs. Data grouping and details are being repeated.
Eduardo
Top achievements
Rank 1
 asked on 02 Jul 2012
1 answer
182 views
Hi,

I am using Telerik 2010 Q3 licensed. I have my requirements on the report. While exporting the report to CSV format, it shows a blank page and some data are missing at different time.

In RTF format also some data are missing and a blank page is displayed at the end for the document. Is the export option based on controls (eg., for textbox, it will export and for htmltextbox it will not export)?

Please see the attached CSV format file.

Thanks and regards,
Ragav
Steve
Telerik team
 answered on 02 Jul 2012
2 answers
505 views
Hello,
We are having a bit of a trouble in adding Dynamic images to each Row of the table or Grid in Telerik Reporting. Can you please share with us any examples? Also we would like to hide or show the image based on the conditional formatting? Any help would be much appreciated.

Thanks
Sandhiya
Chris Gillies
Top achievements
Rank 1
 answered on 02 Jul 2012
1 answer
113 views

Hi,

My name is Camila, and I work with developing systems for web.

I did this test 'Using HTML from Telerik RadEditor' (http://www.telerik.com/help/reporting/report-items-html-text-box-using-html-from-radeditor.html) in my application but gives two javascript errors:

1)Object doesn't support property or method 'registerClass', in line ‘ReportingFilter.registerClass('ReportingFilter', Telerik.Web.UI.Editor.Filter);’

 

2) Object does not support property or method 'set_isDom' , in line:

 

this.set_isDom(false);

 

can anyone help me please?

Thanks,

Camila.

Rumen
Telerik team
 answered on 02 Jul 2012
5 answers
714 views
i have main report with 1 sub report,  in main report have sqldatasource (with selected statement) it returns some fields, like product_id , product_name , i want send the Prodcut_id to subreport sqldatasource (selected statement).

Thanks in advance
Steve
Telerik team
 answered on 02 Jul 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?