Telerik Forums
Reporting Forum
1 answer
90 views

SL 5, VS2010, VB.NET 

I use the Q2 2014 Silverlight ReportViewer in one project of my solution and I am trying to add it to a SL child window in a different project (same solution).

 I have all the same references in the project and xaml, no errors are reported at design time, during compile, or at run time.

The reportviewer is recognized because I set the report on a button click and hook the RenderBegin event to set report parameters.

I have deleted and recreated the control in the xaml file, both by dragging it from the toolbox and by just typing it in - intelisense recognized it.

When I run the program I can set the reportviewer.class but RenderBegin is not hit.

 Any Ideas?

 

Stef
Telerik team
 answered on 11 May 2015
1 answer
194 views

I am creating a report where i have multiple pages as output. But while exporting the report to PDF format, i want each page as a separate PDF document. Can it be done or is there any JavaScript or any other method available which i can implement to achieve this functionality.

 

Please guide through this.

Thank you.

Nasko
Telerik team
 answered on 11 May 2015
15 answers
328 views

Hello together

As we're setting up a new dev server atm, one of the first thing was trying to get the html 5 report viewer to work.

We started with newest softwares and libraries and therefore it wasn't much of a problem setting up a blank, new web site and adding the necessary stuff for the html 5 viewer and it seem to almost work perfect.

Almost, because where in the test project on my local pc where expand/collapse (+/-) images (SampleReport) is now some kind of arrow up in chrome and nothing in IE (see image attached).
Too, in Chrome I get 404 - not found errors for the images:
GET http://...../api/reports/clients/163505-14ea/instances/155744-0f00/documents/163505-973f163505-89ba/resources/Resources.Expand.png 404 (Not Found)
GET http://...../api/reports/clients/163505-14ea/instances/155744-0f00/documents/163505-973f163511-b5a0/resources/Resources.Collapse.png 404 (Not Found)
GET http://...../api/reports/clients/163505-14ea/instances/155744-0f00/documents/163505-973f163511-b5a0/resources/Resources.Expand.png 404 (Not Found)

 

I tought it might be the problem that I copied the viewer from version 8 (Q3 I guess) but am using reporting 9 Q1 on the dev server. So I did the upgrade wizard but it didn't help (it did upgrade the viewer's files but it didn't solve the issue). I then did the upgrade wizard on my local machine too to update from v8, probably q3 (where everything worked fine before, especially the expand/collapes images) to q1 15 and what happens? On my local machine now I have the same strange behaviour. It seems that with v9 "some output" has changed...?!?

On Dev server I have WebApi 5.2.3 and tried Newtonsoft.Json 6.0.4 and 6.0.8. On my local machine I have WebApi 5.2.2 and Newtonsoft.Json 6.0.6. So there shouldn't be the problem as everything worked fine there before updating to reporting v9.
I too tried another report (Dashboard) with diagram images in it on the dev server which works fine too.

 

P.S. I noticed a change in the expand/collapse image path between reporting v8 and v9. Just to mention it.
Therefore I tried the failing image path in the browser and figured out what appears and "how far" I can go... I can until (and with) the id after .../documents where I see an exception trace (http://wm4.webmembers.ch/api/reports/clients/163505-14ea/instances/155744-0f00/documents/163505-973f163505-89ba/).
Everything further give me a 404 error and anything less far gives me:
<Error><Message>The requested resource does not support http method 'GET'.</Message></Error>

I don't know what of all is working exactly and what's not but up to now it seems that this is the only thing which doesn't work right.

 

Thanks for any tipps and infos!

Fridli Jacober
Top achievements
Rank 1
 answered on 11 May 2015
2 answers
186 views

I'm using the HTML5 Report Viewer. Everything seems to be working fine but when I refresh the report using the refresh button on the Report Viewer, I get a 404 error. From what I saw in Fiddler it looks like when I hit the refresh button its called the DeleteInstance action on the base controller. The call looks like this mysite/api/reportsdata/clients/154459-b20c/instances/163052-40f7 I'm hoping someone can shed some light on this issue.

Eric
Top achievements
Rank 1
 answered on 08 May 2015
18 answers
523 views
Hi,
I'm using Telerik Reporting and I want to add click event to chart's column to show another chart. Is it possible?
Thanks,
Berrin
Stef
Telerik team
 answered on 08 May 2015
11 answers
560 views
Hi,
  I am using Q3 2011 latest version. I am using ObjectDatasource to bind the data to the report. Is it possible to do paging on server side so that the whole dataset does not need to to be requested at each request?

Lets assume a simple table report with few parameters like From date and To Date for transactions and a product type filter.

Thanks,
Stef
Telerik team
 answered on 07 May 2015
1 answer
65 views

I have a client that is using the Telerik Report Designer (standalone) with a DLL that is used in conjunction with the Object Data Source used in their reports.

Everything is working properly, though they are requesting to see if there is a way that metadata can be provided on the POCO fields so that a description of the field will be displayed (for instance, in the tooltip) within the Data Explorer.

 This would greatly aid in the usability of the standalone Telerik Report Designer tool.

 Is there a current way to achieve this ?

Nasko
Telerik team
 answered on 07 May 2015
1 answer
540 views

Hello!

I have encountered an issue during creating a multi-table report. I need to place 2 tables next to each other (in one panel), but when one of the tables has less items than the other one, rows are getting automatically adjusted to take same amount of space as the other table. I figured out that if I add some blank rows height will not change, but this solution does not make me happy. Is there a solution to turn off row height auto adjustment? 

 

Nasko
Telerik team
 answered on 07 May 2015
1 answer
104 views

SP is returning multiple columns. I need to print each column value in each page.

 

Ex: If SP returns 5 columns

    Report should contain 5 pages. 1st record should print in the 1st page.2nd record should print in the 2nd page. How can I do this ??? Help me ASAP !!!

Nasko
Telerik team
 answered on 07 May 2015
1 answer
69 views

hi

i want to display multiple value in single pie chart but it gives  multiple pie chart so how to resolve it.

following pei chart and code

  private void BindColorPieChart()
        {
            //DataTable dt = null;
            DataController dc = new DataController();
            DataTable dt = dc.GetUsageDetailsOne(Convert.ToDateTime(txtTodate.Text.Trim()), Convert.ToDateTime(txtFromdate.Text.Trim()));
            if (dt.Rows.Count == 0)
            {
                ColorPieChart.HttpHandlerUrl = ResolveUrl("ChartImage.axd");
                ColorPieChart.Visible = false;
                lblMessage.Text = "No data found";
            }
            else
            {

                ColorPieChart.HttpHandlerUrl = ResolveUrl("ChartImage.axd");
                ColorPieChart.ChartTitle.TextBlock.Text = "Usage Details";
                ColorPieChart.Legend.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.TopRight;

                ColorPieChart.PlotArea.XAxis.AxisLabel.Visible = true;
                ColorPieChart.PlotArea.YAxis.AxisLabel.Visible = true;
                ColorPieChart.AutoLayout = true;
                ColorPieChart.Legend.TextBlock.Visible = true;
              
                
                ChartSeries series = new ChartSeries();
                series.Type = ChartSeriesType.Pie;
                series.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.ItemLabels;
                series.DataYColumn = "TotalCost";
                //series.Name = "Total Cost";
     
               series.DataLabelsColumn = "TotalCost";
                series.Appearance.ShowLabelConnectors = true;


             
                ColorPieChart.Series.Add(series);
                ColorPieChart.DataSource = dt;
               

                ColorPieChart.DataBind();
            }
        }
        protected void lnkToDate_Click(object sender, EventArgs e)
        {
            CalToDate.Visible = !CalToDate.Visible;
        }
        protected void lnkFromDate_Click(object sender, EventArgs e)
        {
            CalFromDate.Visible = !CalFromDate.Visible;
        }
        protected void CalToDate_SelectionChanged(object sender, EventArgs e)
        {
            //set date in MM/dd/yyyy format in textbox
            txtTodate.Text = CalToDate.SelectedDate.ToString("MM/dd/yyyy");
            if (txtTodate.Text != string.Empty)
                CalToDate.Visible = false;
        }
        protected void CalFromDate_SelectionChanged(object sender, EventArgs e)
        {
            //set date in MM/dd/yyyy format in textbox
            txtFromdate.Text = CalFromDate.SelectedDate.ToString("MM/dd/yyyy");
            if (txtFromdate.Text != string.Empty)
                CalFromDate.Visible = false;
        }
        protected void btnGo_Click(object sender, EventArgs e)
        {
            ColorPieChart.Visible = true;
            BindColorPieChart();
        }
        protected void RadChart1_ItemDataBound(object sender, Telerik.Charting.ChartItemDataBoundEventArgs e)
        {
            e.SeriesItem.Name = e.SeriesItem.Name = (e.DataItem as DataRowView).Row["TotalCost"].ToString();
        }
    }

UI part aspx

<telerik:RadChart ID="ColorPieChart" runat="server" Height="600px" Width="700px" DefaultType="Pie">
        <ChartTitle>
            <TextBlock Text="">
            </TextBlock>
        </ChartTitle>
    </telerik:RadChart>

 

 

Stef
Telerik team
 answered on 06 May 2015
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?