Telerik Forums
Reporting Forum
1 answer
236 views
Hi,

Is there a list of the client side methods or events that are available for the Web Report viewer?  The current Q3 2012 client side API does not include methods that are referenced in the help forums such as:

OnPrint
OnPrintReportLoaded
OnReportLoaded
etc.

Any help and further documentation would be appreciated. We are specifically wondering if there are any methods/events triggered on client side export, but a full list of available functionality would be great.

Thanks!
Steve
Telerik team
 answered on 04 Dec 2012
1 answer
585 views
hello i added a reportviewer and from its properties set the report and a parameter, but the value for the parameter has to come from session variable, i want to achieve this by adding it in the reports.parameters, how do i set it.

i do not want to do it from codebehind.

Steve
Telerik team
 answered on 03 Dec 2012
4 answers
388 views
Is it possible to run two versions of Telerik Reports in 1 IIS site ? This is a legitimate request as a client has many pages using an older version of Telerik Reports and we want to use the latest version on our new pages. All of the pages are hosted within one IIS site. We can add both versions to the GAC, but there's a lot of Web.Config entries needed - what do we do with the versions there ?
Mark
Top achievements
Rank 1
 answered on 03 Dec 2012
1 answer
150 views
Is there any property to make group header visible. though data source doesn't return any data.
Steve
Telerik team
 answered on 03 Dec 2012
2 answers
452 views
Hello All,


I have a technical question on telerik report.

On my report, I have two parameters("State" and "City")--They are setup in "cascading" way. Meanwhile, I setup "0" as default values (display value as "All") for both of them.

In the first load, if I choose "MN" for State, the city will list as below and "All" as a default value automatically is selected, which is expected.
CityID         CityName
0                     "all"
120                  "St paul"
121                   "Minneapolis"  

At this point, if I choose "St paul" for city and hit "run report" button, the report will be presented decently.

The issue is in the second round, however. If I change my state value from MN to PA, I expect the city list will reload all cities from PA(which is correct and includes default value "0, All") abd the default value still keeps as "All"(cityID=0) (which is in list but not selected automatically for me this time). I have to click this dropdown list again to choose "all" by myself.

Who can share some lights on this---how to make the default value still working even in the first round you have specified the value for this?

Thanks
 
 
Steve
Telerik team
 answered on 03 Dec 2012
5 answers
106 views
Hi,

I used telerik report Telerik_Reporting_Q2_2010_v4_1_10_921 version for developing my report pages. I develeloped reports with using Telerik report wizard and I used Civic style in my reports. When I upgrade my telerik reports to Q3, some problems in telerik report wizard were seen. I choose Civic style but when I clicked the finish button, reports look like they do not have any style. I am sending the screenshot of the report in the attachment.  What is the problem? 

Thanks  
Steve
Telerik team
 answered on 03 Dec 2012
2 answers
1.4K+ views
When opening a report in xlsx using Q1'12 controls, this is throwing an error:  Thread was being aborted.  It then prompts me to open or save it, then says "it couldn't be downloaded".  But when I click "retry" it opens fine in excel as xlsx.

Here is my code: 
var reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
                Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("xlsx", reportToExport, null);
 
                string fileName = reportName + ".xlsx";
                Response.Clear();
                Response.Charset = "";
                Response.ContentType = "application/vnd.xlsx";
                Response.Cache.SetCacheability(HttpCacheability.Private);
                Response.Expires = -1;
                Response.Buffer = false;
                Response.AddHeader("Content-Disposition",string.Format("{0};FileName=\"{1}\"", "attachment", fileName));
                Response.OutputStream.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
                Response.End();
David
Top achievements
Rank 1
 answered on 30 Nov 2012
1 answer
131 views
I'm converting some reports from SSRS to Telerik as a business case to migrate to Teleirk Reporting, but I'm having problems getting the table to stack its groups properly.

I can only find examples that show example that do this:
Group 1 Header, Group 1.1 Header, Details .........................................................................

But I need it to do this:
Group 1 Header
                            Group 1.1 Header
                                                           Details ........................................................................

Can this be done in the designer, and if so, how?
Would this be done with static groups, and if so how do those groups stack in the Row Heirarchy.


Then is it possible to collapse the Group Header columns widths to get this
Group 1 Header
Group 1.1 Header
Details.......................................
Group 1.1 Footer


I know that the table may not be the correct control, but we've got a tone of SSRS reports to convert and I've created a RDL converter that gets me 90% of the conversion done and then I just need to cleanup the expressions and bind the SSRS Group Expressions to ItemDataBound events.

I know that hacks to get data formatted in SSRS do not mean I need to do them in Telerik Reporting, so If the table is wrong, then I could change my Converter to map these messy tables to Lists instead or attach it to the Report itself if only one exists.

Thanks
Steve
Steven
Top achievements
Rank 1
 answered on 30 Nov 2012
3 answers
187 views
I have an interesting situation.  I have a report that has a chart on it.  The web form (ASP.NET) determines what data is going to the chart itself.  In the telerik report I build the chart programmatically based on the data passed in. This means I have to set a public member as a datatable and refresh the report to have the chart recall the need datasource event.  The need datasource event fires off the function that builds the chart.  Now I recreated this in a windows app and it works perfectly.  It just isn't working in the web.  I am using 2012 Q1.  Here is my code to call below:

In Telerik Report:
Public ChartSource As New DataTable

  Private Sub Chart1_NeedDataSource(sender As System.Object, e As System.EventArgs) Handles Chart1.NeedDataSource
        GetSeries(ChartSource)
  End Sub

In ASP.NET VB:
 Dim rpt As New clsQT9Reports.rptCARBarChart()
 rpt.ChartSource = DT1  'this is the chart data
 rpt.DataSource = dt  'this is a single record datatable that literally just loaded the header on the report
 rptVWR.Report = Nothing
 rptVWR.Report = rpt
  rptVWR.RefreshReport() 
Steve
Telerik team
 answered on 30 Nov 2012
1 answer
86 views
Hi All,

I have a reporting page with a crosstab on it. Toggle Visibility action has been assigned to the Category field to drillthrough the Subcategory fields. Everything works well at this point. However, the report refreshes everytime the Category toggle mark is clicked.
I would like to ask if there is any option to store all retreived data by the first report generation to prevent the report being refreshed everytime the toggle mark is clicked.  

Thank you.
Steve
Telerik team
 answered on 30 Nov 2012
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?