I want a report like this, How much sales, for each city (vertical) in each season (horizontal) :
Cirty1 City2 City3
Spring Spring Spring
day1 1000 day1 2000 day1 3000
day2 1100 day2 2100 day2 3100
... ... ...
Summer Summer Spring
day1 1200 day1 2200 day1 3200
day2 1300 day2 2300 day2 3300
... ... ...
How can it can be built in telerik reporting?
Does anyone know if its possible to use Json.NET's JObject as a source for graphs? I need to bind a dynamically typed objects in runtime.
In C#, I'm doing this as a POC:
var d = new { Missing = 60D, Flagged = 10D, Valid = 30D };
var s = JsonConvert.SerializeObject(d);
var j = JsonConvert.DeserializeObject(s);
var ds = new ObjectDataSource();
ds.DataSource = data;
var report = new Report1();
report.MyPieGraph.DataSource = ds;
The report renders the graph, but only the legend, not the actual pie graph.
I've been beating my head against the wall over this all day and I'm completely puzzled.
I'm feeding a pie chart a very simple data source which consists of two columns: "Category" (string) and "Amount" (double)
If I sort by Fields.Category, it properly sorts the results alphabetically by category. If I sort by Fields.Amount, my pie chart entirely disappears.. no pie chart whatsoever.
[img]http://i.imgur.com/M0W8Ce3.png[/img]
[img]http://i.imgur.com/wvwgQTO.png[/img]
The data I'm passing in is in the form of a DataTable bound to an ObjectDataSource
Any clue what might be happening here? Is there something else I need to change as well?
Hi,
I am trying to use Telerik ReportViewer with ASP.NET UpdatePanel but getting below error when I trigger update request.
I also tried using Telerik RadAjaxManager but the result is the same.
Below is my Page and its Code Behind. I a using Internet Explorer 11 (11.0.9600)
I have added both UpdatePanel and RadAjaxManager with different ReportViewer and trigger buttons.
.aspx
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table>
<tr>
<td>Report</td>
</tr>
<tr>
<td>
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" />
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Button1" />
</Triggers>
<ContentTemplate>
<telerik:ReportViewer runat="server" ID="rptViewerTest"></telerik:ReportViewer>
</ContentTemplate>
</asp:UpdatePanel>
</td>
<td>
<hr />
</td>
<td>
<asp:Button ID="Button2" runat="server" Text="Button" OnClick="Button2_Click" />
<telerik:ReportViewer ID="ReportViewer1" runat="server"></telerik:ReportViewer>
<telerik2:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik2:AjaxSetting AjaxControlID="Button2">
<UpdatedControls>
<telerik2:AjaxUpdatedControl ControlID="ReportViewer1"/>
</UpdatedControls>
</telerik2:AjaxSetting>
</AjaxSettings>
</telerik2:RadAjaxManager>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
Code behind :
protected void Button1_Click(object sender, EventArgs e)
{
Telerik.Reporting.Report report = new EmployeeReport();
rptViewerTest.Report = report;
rptViewerTest.Visible = true;
}
protected void Button2_Click(object sender, EventArgs e)
{
Telerik.Reporting.Report report = new EmployeeReport();
ReportViewer1.Report = report;
ReportViewer1.Visible = true;
}
Error message:
Error: Sys.WebForms.PageRequestManagerServerErrorException: Value cannot be null.
Parameter name: key
(PFA screenshot)
Can you please help.
Thanks,
Snehal
We are currently using Oracle.ManagedDataAccess (https://www.nuget.org/packages/Oracle.ManagedDataAccess/) for our application to connect to oracle.
However, we have integrated Telerik Reporting in our WPF application, and we're using System.Data.OracleClient for that.
Now though, we have run into a problem where some of our client computers does not have System.Data.OracleClient installed, and installing this is not an option. Because we have bundled Oracle.ManagedDataAccess with our application, we hope to use this provider for telerik as well.
I changed the connection string manager to use Oracle.ManagedDataAccess.Client as a provider, however this causes an error message to be displayed in the report viewer, saying that the provider could not be found.
So, the question; Is it possible to use Oracle.ManagedDataAccess for telerik reporting, and if so; how can I configure this to work correctly?
Hello,
I have created a report in Telerik Report designer R3 2016, here i have used table and sub-report within table, for which 2 SQL queries are used in report which is taking 100 seconds to load in SQL server, but the telerik report is getting displayed in 20-25 minutes.
please help me to come out of this.
Hi,
I could not find a pointer on how to migrate to ReportSource.Parameters for Parameters with predefined values. In my WinForms application I use ReportParameter.AvailableValues. I found that Report.Parameters class has AvailableValues but not ReportSource.Parameters. Somehow I can't make the connection between the parameters defined in the report source and the definition of parameters during processing.
Is there an example for migrating existing code that uses IReportDocument.Parameters with AvailableValues.
Regards
Erwin