Telerik Forums
Reporting Forum
8 answers
299 views
Hi,
I bind an image to a Uri read from the DB. I need to be able to set the position along the x axis from an int value read from the DB. How can I set the position?
Thanks.
Wayne

Wayne
Top achievements
Rank 1
 answered on 30 Mar 2012
2 answers
184 views
Hi,

I'm using Trial version 5.3.12.119 of Telerik Reporting. I have problem with italic text and html preview. Text is rendered into two lines and the second line is clipped. The same textbox works fine in normal preview and exported pdf. Here is an example of code that show problem described above:
this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0D), Telerik.Reporting.Drawing.Unit.Cm(0.800000011920929D));
this.textBox1.Name = "textBox1";
this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(18.299900054931641D), Telerik.Reporting.Drawing.Unit.Cm(0.5D));
this.textBox1.Style.Font.Italic = true;
this.textBox1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D);
this.textBox1.Value = "Palasin juuri uudesta koulustani, sain tänään tietää, että minun ei tarvitse osallistua ollenkaan ruotsin kielen tunneille, sillä kielitaitoni on niin";

Is there fix or work around for this?
Iivari
Top achievements
Rank 1
 answered on 30 Mar 2012
2 answers
85 views
Hello

I have a chart in WPF and I go to Reporting but I have some doubts that following are:
They have to be the closest thing to signed attachment.

- As I can make the high is less.
- As I can change or hide where it says 0 and 170 for a text or hide it, is a series: Code
Telerik.Reporting.Charting.ChartSeriesItem seriesItem = new Telerik.Reporting.Charting.ChartSeriesItem();
chartLinea.PlotArea.YAxis[a].TextBlock.Text = "Escala Total";
seriesItem.Label.TextBlock.Text = "Escala Total";
seriesItem.YValue = Convert.ToInt32(sujeto.EscalaTotal);
seriesItem.Name = "Escala Total";
seriesItem.Visible = false;
             
series.Appearance.LegendDisplayMode = Telerik.Reporting.Charting.ChartSeriesLegendDisplayMode.SeriesName;
                 
 
                // se inserta el de 170 puntos
chartLinea.PlotArea.YAxis[a++].TextBlock.Text = "";
seriesItem.Label.TextBlock.Text = "";
seriesItem.YValue = 170;
seriesItem.Name = "";
seriesItem.Visible = false;
series.Appearance.LegendDisplayMode = Telerik.Reporting.Charting.ChartSeriesLegendDisplayMode.SeriesName;
series.AddItem(seriesItem);
 
             
series.Appearance.LabelAppearance.LabelLocation = Telerik.Reporting.Charting.Styles.StyleSeriesItemLabel.ItemLabelLocation.Outside;
chartLinea.Series.Clear();
chartLinea.Series.Add(series);

- Also get the minimum of the Y t max but does nothing. Code
chartLinea.PlotArea.YAxis.MinValue = 30;
chartLinea.PlotArea.YAxis.MaxValue = 170;
chartLinea.PlotArea.YAxis.Step = 10;
chartLinea.PlotArea.YAxis.Appearance.Color = System.Drawing.Color.DarkGreen;
chartLinea.PlotArea.YAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.DarkGreen;
chartLinea.PlotArea.YAxis.Appearance.TextAppearance.Visible = true;
chartLinea.PlotArea.YAxis.Appearance.Visible = Telerik.Reporting.Charting.Styles.ChartAxisVisibility.True;
chartLinea.PlotArea.YAxis.Appearance.ValueFormat = Telerik.Reporting.Charting.Styles.ChartValueFormat.General;

thanks

Evgenia
Telerik team
 answered on 30 Mar 2012
1 answer
258 views
I've read through a bunch of forum posts on this topic, and have implemented the wcf ssl help document verbatim (and with the fixes mentioned here). However, none of that is fixing my issue. I'm getting the following error:

System.ArgumentException : The provided URI scheme 'https' is invalid; expected 'http'. Parameter name: via

I can navigate to the svc page in a web browser via https ("https://localhost/My.Web/Reports2Service/ReportService.svc" 
). I can also point the Wcf Test Client to the service, and it works. It does complain about a few methods, but that appears to be unrelated - due to limitations of the test client itself. I can invoke ListAvailableReports() and ListRenderingExtensions() successfully in the test client. This seems to indicate to me that the web.config is correct. I have the code below in the constructor of my code-behind for the view. 

private const string ReportServiceURLPath = "My.Web/Reports2Service/ReportsService.svc";
this.ReportViewer1.ReportServiceUri = new Uri(string.Format(
    "https://{0}/{1}",
    Application.Current.Host.Source.Host,
    ReportServiceURLPath));

When watching the traffic in Fiddler, I don't see any traffic getting triggered when I click the run report button. The event handler for that button press currently contains only one line (below). So either this is happening client-side and has nothing to do with the web.config file or the error is happening earlier, but isn't displayed until the Report property is set?

this.ReportViewer1.Report = "Telerik.Reporting.Examples.CSharp.Dashboard";

Note: I'm using 2011 Q3 build of both the silverlight controls (2011.3.1116.1040) and reporting (5.3.11.1116) on Win7 64bit, VS2010.

What else can I do/try to troubleshoot this?
David
Top achievements
Rank 1
 answered on 30 Mar 2012
2 answers
174 views
I have a bunch of functions that I use in various expressions, multiple selection for example. It would be nice to be able to hook these into the Report Designer (standalone). Maybe some sort of standard interface?
Engineering
Top achievements
Rank 1
 answered on 29 Mar 2012
4 answers
150 views
Hi,

I am using Q1 reporting with ASP.  Specifically, I have created a report within a radwindow which works well, however, you can right click anywhere on the preview and it brings up the full IE quick menu.

I tried to remove this by adding the basic javascript code to disable right clicking but it worked outside of the report but not on the report itself.

Is there any way of restricting the right mouse click?

Thanks,

Jon
AJ
Top achievements
Rank 1
 answered on 29 Mar 2012
2 answers
101 views
Good Morning,

I've worked with Telerik for a couple days now (and wow do Ihave a lot to learn...), and I had a question regarding additional components to place into the report.  I know that in Xcelsius you could instert sliders and dials in order to manipulate the data.  Is there an option similar in Telerik?  I know that I can create Queries in the report for specific parameters, but they mostly look like drop down menus or text boxes.

Is this something that might require a custom solution, or an addon that I am not seeing, or is it a limitation to the program?

I've basically got a week to be an expert on this thing, so I am trying to get as much info as I can to head off potential issues.

Thanks!

Matt
Matt
Top achievements
Rank 1
 answered on 29 Mar 2012
3 answers
137 views
we have developed the Telerik Report Design in the trial version 5.3.12.119 and now it was updated(licensed) to 6.0.12.215.we are unable to view the design in latest version.

please help us in resolving the issue.

Thanks
pavankumar konakondla
Steve
Telerik team
 answered on 29 Mar 2012
1 answer
132 views
Good Morning all,

I've been going through the help files trying to find the steps to host a created report on a web page.  Unfortunately, I am not having a lot of luck.  I come from using Xcelsius, so obviously things are quite a bit different.  How does one take a finished report and host this thing online?

We're creating a prototype for a job that our company has been tasked to do where basically reports are hosted on a website, the user interact with them to create their own "what-if" scenarios, and get their results.  Right now, we are at the "host the created report on a web page" phase. 
Any advice would be appreciated.  Thanks a bunch!

Matt
Elian
Telerik team
 answered on 29 Mar 2012
1 answer
153 views
OK, the basic error message is this: An error has occurred while processing Report 'myReport': The expression contains object 'myField' that is not defined in the current context. 

I've followed the instructions here: http://www.youtube.com/watch?v=t-iA05KpDFM  for adding a partial view to MVC to allow a report viewer, and it works as long as I use a statically defined report.

However, if I go in to the OnLoad method and try to change the report to something else, it throws the above error.

Here is my sample code:

protected override void OnLoad(EventArgs e)
{
    base.OnLoad(e);
    ReportViewer1.Report = ViewBag.ReportSource;
    ReportViewer1.RefreshReport();
}

Note the use of the ViewBag to provide access to the new report. This seems to work, except that the new report isn't properly linking to its fields.

Thanks for your timely response!
Peter
Telerik team
 answered on 29 Mar 2012
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?