Telerik Forums
Reporting Forum
41 answers
882 views
Hi

Currently one can export a telerik report using the 'Save' (Export) button to export the report to a number of formats.

i have a requirement to restrict the export formats listed to one, .pdf!
How can I restrict the formats in this dropdown menu to only show Acrobat (PDF) file as an option?

Bye
Stef
Telerik team
 answered on 08 Oct 2013
1 answer
118 views
Hi Guys

I have a detail report, using a subreport to display the details when a user selects the expand icon.

Every row shows the expand icon even if there is no detail to be displayed.

It's far from ideal because the user hits expand,, the report reruns and then finally shows nothing.

Any one found a way to hide the expand button for rows that have no information in the subreport?

Many thanks

Rob
Stef
Telerik team
 answered on 08 Oct 2013
1 answer
82 views
Hello folks.

I want to add some itens outside report's margin, like a picture or something like that.

How can I do this?

Best regards.

Stef
Telerik team
 answered on 08 Oct 2013
1 answer
120 views

Hi,

We are using the standalone designer to ideally build reports and drop them into place where we have a screen
that links to what reports are available.  The idea being to allow reports to be created without having to recompile
the asp.net.  We retrieve data from Sql server 2008 R2 using Telerik DataSource.

We have run into a problem in trying to convert datetimeoffset into a time zone name to display in the reports.
In the web pages we use the .Net class timezoneinfo. Is there a way to call the .net managed code and manipulate the data
retrieved from the data-source in Report designer.

Peter
Telerik team
 answered on 08 Oct 2013
1 answer
519 views
Hi

I have one report with multiple Stored Procedure(return datatable) to bind
below is the code i have in aspx.cs page

Telerik.Reporting.ObjectDataSource objectDataSource = new Telerik.Reporting.ObjectDataSource();
            objectDataSource.DataSource =  //How to bind all datatable from aspx.cs page to my Reporttab class

            // Creating a new report
            ReportTab report = new ReportTab ();

            // Assigning the ObjectDataSource component to the DataSource property of the report.
            report.DataSource = objectDataSource;
            
            // Use the InstanceReportSource to pass the report to the viewer for displaying
            Telerik.Reporting.InstanceReportSource reportSource = new Telerik.Reporting.InstanceReportSource();
            reportSource.ReportDocument = report;

            // Assigning the report to the report viewer.
            ReportViewer1.ReportSource = reportSource;

If there is any online sample it will be great for people like me
Please Guide me

Karthik.K
Elian
Telerik team
 answered on 08 Oct 2013
3 answers
298 views
I have an object data source, and I want the data source to be a single object ( I can return IEnumerable<MyDataObject> or MyDataObject) 

What's the correct way of going about this. I want to be able to return a single object, and then just go [=Fields.Field1]. When I'm doing it, I'm getting nothing printing. 
Elian
Telerik team
 answered on 08 Oct 2013
3 answers
198 views

How to I setup my filter to select the value I pass it from a webpage?

<button onclick="openWin('<%# Eval("pws_id") %>'); return false;">Open Print Window</button> 

 

function openWin(PWSID) {

 

radopen(

"print.aspx?pws_id=" + PWSID);

 

}

Nasko
Telerik team
 answered on 07 Oct 2013
3 answers
135 views
I have a DAL (Data Access Layer) added to my report application.
I access the DAL via ObjectDataSource. This works fine. I can see the properties of the class/etc.

I can create a Report Parameter that binds to the ObjectDataSource and set the DisplayMemeber/ ValueMember Fields (no issues)
When I attempt to view the report in "Preview" the Report Parameter is blank (No Data)

I have unit tests set up to verify that data is coming back and all my tests work.

Also If I put the report in question in a web page the Report Parameter in question will populate perfectly fine.

I would really like to have the "Preview" functionality working correctly.

Can you point me in the right direction to address this issue?
Nasko
Telerik team
 answered on 07 Oct 2013
1 answer
112 views
Hi

I have created a report that has a table which show a list of file names. For each row's textbox, i have used action to make them able to launch the external file. I have provided the full file path as the "Target URL".

When i launch the report viewer, sometimes it work. Sometimes it does not work. (especially path with dots in between, such as D:\Work\R1.01\TFSSolution.Data.External.Files\instruction.pdf)
It will show the following error:
'Cannot set unknown member '{clr-namespace:Telerik.ReportViewer.Xaml;assmebly=Telerik.ReportViewer.Silverlight}Interactivity.Action'.' Line number '1' and line position '15114'.

Am i doing the right way to navigate to external file? The report viewer i am using is WPF.

Thanks
tungngie
Stef
Telerik team
 answered on 04 Oct 2013
4 answers
468 views
Hi,

I have an ObjectDataSource with Collection as follows:

public class Person
{
    public string FirstName {get; set;}
    public string LastName {get; set;}
    public List<Email> emails {get; set;}
}

public class Email
{
  public string Address {get; set;}
  public string Category {get;set}
}

A method returns a List<Person> that is used as the datasource for the report

In the Report Explorer I see the fields FirstName, Lastname and Email
However Email only gives me Capacity and Count and not Address and Category.  It seems that the Data Explorer cannot drill down to the Nested list of Emails and its properties.

Is there a way to set it up so that the Email fileds are exposed Data Explorer?  This way I was hoping to avoid using subreports which will get a object datasource  of "PersonEmails" from a method and use this in the details.

Thanks,
Peter



KS
Top achievements
Rank 1
 answered on 04 Oct 2013
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?