Telerik Forums
Reporting Forum
2 answers
107 views
Hello,
I've the need of having two type of export based on the user level, for some user (the most of them) I need only to export to PDF, for some superuser I need to export also to xls .... how can I do that?
I've used this in the web.config :

<Telerik.Reporting>
   <Extensions>
     <Render>
       <Extension name="PDF" visible="true">
         <Parameters>
           <Parameter name="FontEmbedding" value="Subset" />
         </Parameters>
       </Extension>
       <Extension name="CSV" visible="false" />
       <!--<Extension name="IMAGE" visible="false">
       </Extension>-->
       <Extension name="RTF" visible="false">
       </Extension>
       <Extension name="MHTML" visible="false">
       </Extension>
       <Extension name="XLS" visible="false">
       </Extension>
       <Extension name="XPS" visible="false">
       </Extension>
     </Render>
   </Extensions>
 </Telerik.Reporting>

Thanks

Paolo
Michele
Top achievements
Rank 2
 answered on 03 Mar 2011
0 answers
246 views
Hi
I set up my application on production server. It runs well when i create application in default Web site
But when i create domain and set application there , all application running well except the reports which are developed using Telerik
I dnt know what settings are missing there
i got following error

CS0009: Metadata file 'c:\windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll' could not be opened -- 'Access is denied.'

I try to googling this error but can not find any soln
My server has Microsoft windows 2008 Server
Plz help me as soon as possible
Saima Gul
Top achievements
Rank 1
 asked on 03 Mar 2011
1 answer
104 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
63 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
126 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
55 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
95 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
144 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
258 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
209 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 &amp;.

greetings Jonam
Steve
Telerik team
 answered on 01 Mar 2011
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?