Page 2 of 2

Re: Date format not working

Posted: Tue Mar 25, 2025 8:42 am
by dikan
Well, from the beginning my Blazor viewer looks like this

<StiBlazorViewer Report="@Report" Options="@options" Localization="Reports/sr.xml"
Width="100%" Height="100%"
Theme="StiViewerTheme.Office2013LightGrayCarmine" />

Nothing fancy, just copied from the example and of course it includes Localization. And if somehow I forget to place sr.xml in a proper folder to be accessible to my application then it fails to load the report. So Localization is applied as it should be.

What is next?

Re: Date format not working

Posted: Wed Mar 26, 2025 10:05 pm
by Lech Kulikowski
Hello,

Sorry, we did not exactly understand your issue. What do you want to do?

Thank you.

Re: Date format not working

Posted: Thu Apr 03, 2025 9:27 am
by dikan
I want my variable defined like this:

Re: Date format not working

Posted: Thu Apr 03, 2025 9:29 am
by dikan
to give me result 24.03.2025 instead of:

Re: Date format not working

Posted: Thu Apr 03, 2025 9:29 am
by dikan
Setting the necessary culture property of the report did not solve problem

Re: Date format not working

Posted: Sun Apr 06, 2025 10:29 pm
by dikan
Sorry for my ignorance. Thank you.

Re: Date format not working

Posted: Mon Apr 07, 2025 7:22 am
by Lech Kulikowski
Hello,

Did you solve your problem?

Thank you.

Re: Date format not working

Posted: Mon Apr 07, 2025 10:47 am
by dikan
Yes, I solved my problem with ParametersPanelDateFormat. Answer with the wrong link to HTML5 viewer was kind of misleading but after some research I found this very same parameter for Blazor and it did the job. But, nevertheless I think that specifying the right localization file is enough to pick the date format for PanelDateFormat.

Re: Date format not working

Posted: Mon Apr 07, 2025 6:06 pm
by Lech Kulikowski
Hello,

Thank you for the information.