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
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
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
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
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.
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?