Telerik Forums
Reporting Forum
1 answer
146 views
HI

I'm using Telerik Reporting 2010-Q2, and I have try to add the Telerik Silverlight report viewer to Mainpage.xaml (SilverLight4) and I get the error:

Error HRESULT E_FAIL has been returned from a call to a COM component.

at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData) at MS.Internal.XcpImports.MethodPack(IntPtr objectPtr, String methodName, Object[] rawData) at MS.Internal.XcpImports.Collection_Add[T](PresentationFrameworkCollection`1 collection, Object value) at System.Windows.PresentationFrameworkCollection`1.AddImpl(Object value) at System.Windows.PresentationFrameworkCollection`1.System.Collections.IList.Add(Object value) at Microsoft.Expression.DesignModel.InstanceBuilders.ClrObjectInstanceBuilder.InstantiateChildren(IInstanceBuilderContext context, ViewNode viewNode, DocumentCompositeNode compositeNode, Boolean isNewInstance)



Is SL 4 supported??
Do you have an example SL4 Project??

Thanks!
Peter
Telerik team
 answered on 15 Jul 2010
3 answers
181 views
Hi,

Is there any way to have a fixed line on x and y axis in the point chart. Is it also possible to have 2 fixed lines in x and y axis in the point chart. Please find the requirement chart attached.

Thanks in advance.
Steve
Telerik team
 answered on 15 Jul 2010
1 answer
65 views
Is it possible to add paging to the bottom of the report viewer (along with having it at the top)?
Steve
Telerik team
 answered on 14 Jul 2010
5 answers
237 views
Hello everybody!

We are using Telerik Reporting in an ASP .NET Application.
We had some issues with the report not showing while fetching data, which led to the application seeming to not respond.
To overcome this issue we initialized the report at first with no data (i.e. Report Parameters not set) and placed an ASP Update Panel and ASP Timer.
In the Tick event of the Timer the report parameters are set and the report is forced to update the data using the new report parameters. Below is a snippet of the update method called by the tick event of the timer.
/// <summary>
/// Updates the report.
/// </summary>
public void UpdateReport()
{
    AcceptanceProtocol.AcceptanceProtocol report = this.ReportViewer1.Report as AcceptanceProtocol.AcceptanceProtocol;
    report.SetFilters(companyId, userId, deviceId, cultureName);
    this.ReportViewer1.Visible = true;
    this.ReportViewer1.RefreshReport();
}

In the NeedDataSource event of the report we are fetching our data using a custom business logic object (see below):
/// <summary>
/// Handles the NeedDataSource event of the AcceptanceProtocol control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
private void AcceptanceProtocol_NeedDataSource(object sender, EventArgs e)
{
    Telerik.Reporting.Processing.Report rep = (Telerik.Reporting.Processing.Report)sender;
    this.DataSource = this.BusinessLogic.GetAcceptanceProtocol(
        this.CompanyId, this.UserId, this.DeviceId, this.CultureName,
        this.EventTypeIdFilter, this.EventTypeGroupIdFilter);
    rep.DataSource = this.DataSource;
}

The problem is that sometimes the report is showing data and sometimes not.
If we force a second GET request to the page that renders the report everything is working fine.
Some idea what is causing this?
Steve
Telerik team
 answered on 14 Jul 2010
4 answers
168 views
Hello, can i use theme for RV in Silverlight project? how can i do it?
Steve
Telerik team
 answered on 14 Jul 2010
0 answers
94 views
Hello all ,

Am experiencing a strange problem , on itemDataBound "procDetail " always remains null , ie "sender as        Telerik.Reporting.Processing.DetailSection; " returns null .. am i missing any thing ..???

private void detail_ItemDataBound(object sender, System.EventArgs e)
{
    Telerik.Reporting.Processing.DetailSection procDetail = sender as        Telerik.Reporting.Processing.DetailSection;

Thanks
-Prince M.Premnath
Prince M. Premnath
Top achievements
Rank 2
 asked on 14 Jul 2010
1 answer
151 views
I have a Report that has a Bar chart. The chart works and displays as expected in Preview mode (designer) but when I debug it the chart is not displayed (space is used). I figured I was doing something incorrect but was unable to resolve this problem. On a lark I exported the chart to rich text and the chart displays in the exported file.

Anyone else dealing with this on SL4 Reporting Version 4.0.10.423
Stoick
Top achievements
Rank 2
 answered on 13 Jul 2010
3 answers
305 views
I just started using telerik reporting and I'm wondering about this scenario. Basically, I created a business object based report with two levels of grouping. I'm accessing it through the web viewer and I'm sending it a list of Ienumerable<object>. There are about 24000 rows in the inenumerable. The report gets it, but it takes almost 2 minutes to render (it takes 2 seconds to get the data). The report winds up being 1900 pages. I'm wondering, are the pages loaded on demand? Is there some kind of way to speed this up by loading a page at a time?
Steve
Telerik team
 answered on 13 Jul 2010
9 answers
313 views
I have a master report, the details section of which contains 3-subreports; "Payroll", "O&M Labor" and "Capital Labor". If one of the subreports contains no data, it is not printed, which I expect. In the 2nd screenshot, the "Payroll" subreport doesn't print because there are no rows. However, the space allocated for the subreport is blank, dropping the "O&M Labor" subreport down about .25". I need a way to test if a subreport is empy, and relocate the subsequent reports accordingly. Compare the 2-screenshots and you can see what I mean.

Thanks

It looks like all I need to do is set the .Visible property of the empty sub-report to False, and that takes care of blank space. The subsequent sub-reports reposition themselves. But I'm still trying to figure out if the sub-report is empty.
Steve
Telerik team
 answered on 13 Jul 2010
1 answer
147 views
Is it possible to make the report viewer automatic date UI fields show up there in a date format different than MM/DD/YYYY?
Steve
Telerik team
 answered on 13 Jul 2010
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?