Telerik Forums
Reporting Forum
1 answer
213 views
I need to catch the report viewer event when a user click on export or printing.
I have not found any event to achieve the above in the report viewer for asp.net while I have seen that the same exist for the winform report viewer.
Is there any alternative to get the export/print event to fire some code rather than having to use a button outside the control and limit the feature of the report viewer?

Thanks,
Felice
Stef
Telerik team
 answered on 07 Jul 2014
1 answer
111 views

Is possible pass as parameter the table name in clause FROM? (simple example)

file *.cshtml
@section head
{  
   var report = new XmlReportSource() { Uri = "Report.trdx" };
   report.Parameters.Add(new Telerik.Reporting.Parameter("tmp", TempData["temp_table"]));
}

file *.trdx
 <SqlDataSource ConnectionString="AHEConnectionString" SelectCommand="SELECT * FROM @tmp " Name="sqlDS_info">
      <Parameters>
        <SqlDataSourceParameter DbType="String" Name="@tmp ">
          <Value>
            <String>=Parameters.tmp.Value</String>
          </Value>
        </SqlDataSourceParameter>
      </Parameters>
</SqlDataSource>
Stef
Telerik team
 answered on 07 Jul 2014
6 answers
291 views
I have a report with 18 rows. However, when I export it to Excel it generates 84 rows.  What's going on here?
Stef
Telerik team
 answered on 07 Jul 2014
3 answers
150 views
Hello everyone,
I have been trying to find an easier way to update data in a table cell dynamically for the last hour.
Basically, i have a table that summarizes the activity of a sales person, tracking how many emails or calls he's been making. What i have been doing is, i have each cell call a C# function, and the C# function would directly make connection to the database to grab the number of calls, emails or appointment he's been making. The problem with this is if i have about 20 cells, this approach would be hugely insufficient due to each cell making a connection to one database table at the same time. So my question is, Is there a better way to do this? Please refer to the attached image. Thank you!
KS
Top achievements
Rank 1
 answered on 04 Jul 2014
14 answers
561 views
Hi~

i have a webpage,and one of the page put a reportviewer in it.

then , i read this http://www.telerik.com/community/forums/reporting/telerik-reporting/set-default-export-from-exportgroup.aspx

this let my viewer can only export one file type ,"PDF"

but, my customer said,if we can only export PDF File.

why should we still have to select a type then export.

is anyway to set the default export type to some type on PageLoad even or ReportViewer's properties? (e.g PDF or XPS )

Thanks.
Stef
Telerik team
 answered on 04 Jul 2014
1 answer
51 views
Hello, 

We are binding a Table DataSource to a SQL Sproc that is taking advantage of GROUPING SETS where the last row in the result set that has the aggregation already applied to the data based on the DB design requirements. 

What is the best way to tell the Table that the data set has this special last row so we can: 

1) format the row in a special way (bold, font size, and such)
2) Set a couple cells to a special text value ("Total", "Summary") 

Do we just use Conditional Formatting rules on each cell the last row? Or is there a better way to do this?

Thank you.
Nasko
Telerik team
 answered on 04 Jul 2014
1 answer
351 views
We created a custom report designer for our web application.  We use Telerik's report engine to render the reports.  It is possible for a user to create a report that will take nearly forever to complete.  When this happens, it locks resources on the server, slowing the application for other users.

We want to set a timeout on the Telerik report renderer, but cannot find that property.  Is there a way to set the timeout for the report engine?
Hinata
Top achievements
Rank 1
 answered on 04 Jul 2014
1 answer
71 views

HI,

I am new to using Telerik Reporting but I am looking to implement it in an ASP.NET website. I am looking to do something like this demo

ASP.NET Demo

My problem is that I cannot figure out how to properly set up the report viewer on my webpage to supply parameters to my report, which is in a separate project. And if there is any initialization in the report class to do? I have downloaded the reporting demo's but no examples of passing parameters are included.  I have searched the forums but i cannot find any clear tutorials/solutions

I am using;
 
Telerik UI  ver.  2014.1.403.45
Telerik Reporting Q2 2014 ver. 8.1.14.618

Your help would be much appreciated.
Marc
Stef
Telerik team
 answered on 03 Jul 2014
2 answers
241 views
Hi,

I've followed the example to create a REST service and a MVC5 view:
http://blogs.telerik.com/telerikreportingteam/posts/14-01-06/consuming-telerik-rest-service-reports-in-asp.net-mvc-5

What we need to do now is work out how we can change the connection string during runtime.

After researching the examples online the suggestions don't seem to be relevant for WebApi.

Please help! 

Thanks.
Michael
Top achievements
Rank 1
 answered on 03 Jul 2014
12 answers
173 views
I recently upgraded to Q2 2014 and now I cannot open any reports created in any previous version. When I open the report, I get the error as shown in the screen shot. If I ignore and continue, I get the report designer, but some of the data sources are messed up. I am on Visual Studio 2012. Did I miss something in my project to upgrade the project?

I can create a new report and it will work okay.
Stef
Telerik team
 answered on 02 Jul 2014
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?