Date format not working
Re: Date format not working
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?
<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?
-
- Posts: 7193
- Joined: Tue Mar 20, 2018 5:34 am
Re: Date format not working
Hello,
Sorry, we did not exactly understand your issue. What do you want to do?
Thank you.
Sorry, we did not exactly understand your issue. What do you want to do?
Thank you.
Re: Date format not working
I want my variable defined like this:
- Attachments
-
- VARIABLE.png (24.67 KiB) Viewed 27063 times
Re: Date format not working
to give me result 24.03.2025 instead of:
- Attachments
-
- Date.png (20.58 KiB) Viewed 27063 times
Re: Date format not working
Setting the necessary culture property of the report did not solve problem
Re: Date format not working
Sorry for my ignorance. Thank you.
-
- Posts: 7193
- Joined: Tue Mar 20, 2018 5:34 am
Re: Date format not working
Hello,
Did you solve your problem?
Thank you.
Did you solve your problem?
Thank you.
Re: Date format not working
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.
-
- Posts: 7193
- Joined: Tue Mar 20, 2018 5:34 am
Re: Date format not working
Hello,
Thank you for the information.
Thank you for the information.