Telerik Forums
Reporting Forum
1 answer
195 views
How to Print Report Directly With Out Showing(using) In ReportViewer By Button Click Event In MVC ?
Stef
Telerik team
 answered on 27 Oct 2016
2 answers
132 views
Could you please assist, how to create Graph Series Line with 2 column?
For example Actual and Forecast are 2 different columns and need to show in column as one line. Like actual line should be solid and Forecast line should in dotted.
I have attached the example graph for reference.
Asim
Top achievements
Rank 1
 answered on 25 Oct 2016
1 answer
119 views

Hello,

I am trying to display the total time span in seconds for a report with two parameters; From (DateTime) and To (DateTime). The subtraction between two DateTime objects is a TimeSpan object, but the following expression fails, claiming that it cannot interpret '.':

=(Parameters.To.Value-Parameters.From.Value).TotalSeconds

 

Is there an alternative syntax I can use, or is this kind of expression just not supported? 

 

Best regards, 

Magnus

Stef
Telerik team
 answered on 25 Oct 2016
2 answers
389 views

Dear Devexpress,

The checkboxes on the report have blue color.
Our client wants to have them black. Is it possible to change the color of the checkboxe ?

 

regards,

Gert

Henri
Top achievements
Rank 1
 answered on 24 Oct 2016
2 answers
2.0K+ views

Hi

I'm new to Teleric and am struggling to dynamically load a picture into a PictureBox. No matter what I try I get "Could not find part of the path". I found this function in an article on User Functions but it doesn't work: I get the same error message and "Invalid URL: the url is empty":

--------------------------------------------------------------------------------------------------------------------------------

    Private Sub PictureBoxRecipePicture_ItemDataBinding(sender As Object, e As EventArgs) Handles PictureBox1.ItemDataBinding
        Try
            Me.PictureBox1.Value = ResolveUrl("C:\MyPictures\MyPicture.jpg")
        Catch ex As Exception
        Finally
        End Try
    End Sub

    Public Shared Function ResolveUrl(relativeUrl As String) As System.Drawing.Image
        Dim path As String = System.Web.HttpContext.Current.Server.MapPath(relativeUrl)
        Return System.Drawing.Image.FromFile(path)
    End Function

--------------------------------------------------------------------------------------------------------------------------------

Can anyone point me in the right direction for how to do this? I realise there may be a much better way of dynamically assigning pictures but simply can't find a method that works.

Thanks for reading
Richard

Stef
Telerik team
 answered on 24 Oct 2016
20 answers
1.7K+ views
I am using the HTML5 report viewer and the reporting REST API, with a ReportController that I have subclassed.
I need to add some custom HTTP headers to the outgoing AJAX requests from the report viewer to the report controller.
How would I go about doing that?
Stef
Telerik team
 answered on 24 Oct 2016
3 answers
631 views

I want to dynmically add the text box in the Group header section. pls kindly help it is urgent i tried a code it not work.

 private void groupHeaderSection_ItemDataBinding(object sender, EventArgs e)
        {

 Telerik.Reporting.TextBox Txtbox;
  Telerik.Reporting.TextBox TxtboxHead;        

               
                TxtboxHead = new Telerik.Reporting.TextBox();
                TxtboxHead.Value = "StartDt";
                TxtboxHead.Name = "txtHeadProdStartDt";
                TxtboxHead.Visible = true;

             Txtbox = new Telerik.Reporting.TextBox();
                Txtbox.Value = "12-Jan-2016 10:20 PM"
                Txtbox.Name = "txtFldProdStartDt";
                Txtbox.Visible = true;

  this.groupHeaderSection.Items.AddRange(new ReportItem[] { TxtboxHead, Txtbox});

}

It not disply any Control in Group Header section. but i debug it shows groupHeaderSection had 2 items TxtboxHead and txtbox pls help 

Stef
Telerik team
 answered on 24 Oct 2016
1 answer
300 views

How to pass data from html page to telerik report and display it in html5 telerik reportviewer ?

 

I have data in html page i.e. in angularjs, and how can i pass the data to telerik report viewer and display it.

Stef
Telerik team
 answered on 24 Oct 2016
2 answers
87 views

I have an application that creates Telerik reports, with references to Telerik.Reporting (10.1.16.504), Telerik.Reporting.Winforms (10.1.16.504), DocumentFormat.OpenXml (2.0.5022.0), and WindowsBase. All the associated DLL files are located in the same folder as the executable. When I run the application from my workstation, all is well and the extra options appear in the Export drop down (Word, PowerPoint, Excel, XPS). However, when I install and run it on another machine, the extra options do not appear in the Export drop down.

 

What would be the cause for this conflict? Does Microsoft Office have to be installed in order to export Telerik reports as Word Documents/Power Point documents?

Frank
Top achievements
Rank 1
 answered on 21 Oct 2016
1 answer
107 views
With the version R3 2016 (version 10.2.16.914), text alignment priority is on the document. So, if the property "TextAlign" of the document style is "center" and you set the property "TextAlign" of a textbox in a group header section at left, the result will be align "center.
Nasko
Telerik team
 answered on 21 Oct 2016
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?