Reports are processed and rendered on the server. If you use a localization with RESX files (Localizing Reports
), in the report's designer.cs(vb) file you can see a standard resource manager that pulls resources from the corresponding RESX file. The RESX file will be determined based on the current thread's culture, which has to be set before creating an instance of the report (before the InitializeComponent method is called).
If youare using the HTML5 Viewer, the current thread's culture can be set on a request e.g. Localization in ASP.NET MVC 4
With the above settings you will get the localized strings and the rendered with them report at the client.
In addition, you can localize the UI by using Kendo JS files per language or you can provide custom format in the page.
Please note that if you use a custom format for a widget (via property), the data will not use the format on submit. For example DataTime values can be formatted with slashes, dots and etc. on display, still the object will be transferred as a DateTime object to the server, and the string representation of this object on the server will depend on the server's culture settings; unless the data is transferred as a formatted string.
If you have the following expression in the report:
MyUserFunc(Fields.XYZ) >= IsNull(Parameters.DateFrom.Value, "1.1.1900")
The report must be processed on a machine having culture with default DatetimeFormat like dd.MM.yyyy
. Also the IsNull function should return a DateTime object e.g. cast the "1.1.1900" value to Datetime via CDate
I hope this information helps.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items