Telerik Forums
Reporting Forum
1 answer
109 views
Hi,

We are running into performance issues with the report viewer when clients are running reports with 50,000 or more records where it eventually times out - I suspect memory related with the server ending up using the swap files.

Anyway, obviously no one is really going to want to view or print 50,000 records on the site but they might want to export to CSV. Is there a way to detect the type of rendering at the NeedObjectDataSource event so I can limit the HTML mode to say 1000 records but allow the full amount for CSV?

Also, is there a way of allowing the user to export before the report renders in HTML or is the only way to use the programmatic export as per the PDF example?


Note: this is the latest version of Telerik (Q3 2010)
Thanks

Stuart
Stuart
Top achievements
Rank 1
 answered on 02 Mar 2011
3 answers
67 views
System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.UpdateUI()
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.set_PageRoot(FrameworkElement value)
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.SetError(String message)
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.SetError(Exception ex)
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnListRenderingExtensionsCompleted(Object sender, ListRenderingExtensionsEventArgs e)
   at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnListRenderingExtensionsCompleted(Object state)

This msg is coming in my client machine.. after deploying


I kept whole folder which working fine in my system

But getting this error when placed in client machine..

Pls reply

Reena
Steve
Telerik team
 answered on 02 Mar 2011
1 answer
138 views
I am having some difficulty figuring out how to get a Report to bind to my business objects.

I am using Interfaces in the following way:

public interface ITopInterface
    {
         
        string A { get; }
}
 
public interface IBottomInterface: ITopInterface
    {
        string B { get; }
       bool C { get; }
}

In my implementation I end up with something like to following:
public class BaseClass : ITopInterface
{
    public string A { get { return "test"; } }
}
 
 
public class newobject : BaseClass, IBottomInterface
{
   public string B { get { return "test"; } }
  public bool C { get { return true; } }
}

So, when I am create the object data source, I am binding to a collection of "IBottomInterface", however, only the properties of that
(
IBottomInterface) seem to be  visible and usable to the report? Anyway, I
was thinking that all of the properties of both interfaces 

would be there, as IBottomInterface is a ITopInterface..? Is there
a way to force the object data source to see the entire object?
Peter
Telerik team
 answered on 02 Mar 2011
0 answers
60 views
Prompt please, it is necessary to print stickers, a problem in that that I do not understand as to specify that stickers identical there should be a certain amount
Rem
Top achievements
Rank 1
 asked on 02 Mar 2011
1 answer
99 views
Dear Support team,

is there a way to save the report (pdf, xls.....) into a virtual directory (ex. /VirualDir/) of the IIS?

Thank you in advance for your time.

Best Regards,
George.
Navarino Technology Department.
Technology
Top achievements
Rank 1
 answered on 02 Mar 2011
1 answer
157 views
Hello,

I've created a report book control in an ASP.NET web application.  This report book contains 2 reports that I have created.  When I try to export to PDF it will export the entire report book to and not only the specific report I am on.

Is there any way to export only the selected report in a report book? 

Thanks
Steve
Telerik team
 answered on 01 Mar 2011
1 answer
279 views
Hi,
  I used Telerik Reporting to create shipping label and it looks great.
  I am using Avery label (template number is 5164) and it has 6 (2x3) labels on a sheet.
_______
|  A  |  B  |
------------
|  C  |  D  |
------------
|  E  |  F  |
------------

  If I want to print my first label at position D, how can I do it?

Thanks.
Steve
Telerik team
 answered on 01 Mar 2011
3 answers
236 views

textBoxTable = new Telerik.Reporting.HtmlTextBox();
                textBoxTable.Style.BorderColor.Default = Color.Black;
                textBoxTable.Style.BorderStyle.Default = BorderType.Solid;
                textBoxTable.Value = "=Fields." + dc.ColumnName;

i create dynamic columns with the code above. But when the value of a row has the '&' character it displays the error. "Error occured while processing HTMLTextBox". How can i avoid this error without changing the values that are stored in the database from & to &.

greetings Jonam
Steve
Telerik team
 answered on 01 Mar 2011
4 answers
111 views
As someone new to Telerik controls I might be missing something obvious but I cannot seem to figure this out.

I am working in VS 2010 developing a ASP.NET / Ajax based solution.  So far on my development box everything is working without error.  Per the suggested standards I have created a library of reports which are then referenced in my web projects.  I have created a asp.net webpage which generically launches a given report when required. 

When this project is deployed to the production server the Telerik.Reporting.dll is correctly copied.  VS 2010 appears to automatically pick up the reference from my Report Library .DLL.  What does not get picked up is the reference to the Telerik.ReportViewer.WebForms DLL.  No matter where I located the reference to the Report Viewer (either in the library or main ASP.NET application), the resulting references all refer to the GAC.  Given that my deployment is via "xcopy", items may not reside in the GAC.

As long as I remember to copy the DLL's to my projects compiled folder everything works.  As this is not automated human error can creep in.  Is there a way I can automate the deployment of the required items?  Is this a question of how I refer to the control?  Is this a question of where it is compiled?

Thank you for any insight you might provide.
David
Top achievements
Rank 1
Iron
Veteran
Iron
 answered on 01 Mar 2011
0 answers
417 views
I have included an HTML Textbox on one of my reports and am using text which has been imported from regular text. I have read the article that explains that the & < and > characters need to be escaped but I'm not sure where or how I would do that. There are several times when the report gives my users an error and I am having to edit the contenet to remove these special characters. Thanks for any help.
AkAlan
Top achievements
Rank 2
 asked on 28 Feb 2011
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?