Changing the dashboard Theme

Stimulsoft Dashboards.BLAZOR discussion
Post Reply
Posts: 1
Joined: Tue Apr 02, 2024 5:13 pm

Changing the dashboard Theme

Post by eriosmiranda »

I am developing a BI app in .net 8 with Stimulsoft 2024.2.2 version and Radzen Blazor. I try to change the theme but don't works. Part of the code its as follows:

<div class="row">
<div class="col-md-8 col-lg-8">
<RadzenLabel Text="Dashboard" Component="DropDownBindValue" Style="margin-right: 8px; vertical-align: middle;" />
<RadzenDropDown @bind-Value=@seleccion Data=@lista TextProperty="DashboardNombre" ValueProperty="DashboardId" Change="@CambiaSeleccion" Style="width: 100%; max-width: 600px;" Name="DropDownTextValueProperties" />
<div class="col-md-1 col-lg-1">
<RadzenButton Click=@(args => OnClick("Visualizar")) Text="Visualizar" ButtonStyle="ButtonStyle.Primary" />
<div class="row">
<StiBlazorViewer ID="DashViewer" Report="@Report" Options="@Options" Theme="StiViewerTheme.Office2013WhiteViolet" />

Any suggestion it's welcomed. Sorry for my poor english.
Max Shamanov
Posts: 828
Joined: Tue Sep 07, 2021 10:11 am

Re: Changing the dashboard Theme

Post by Max Shamanov »


Please try to use the follwing code:
"<StiBlazorViewer Report="@report" Theme="Stimulsoft.Report.Web.StiViewerTheme.Office2022BlackTeal" />"

If you use @using Stimulsoft.Report.Web
this should work:
<StiBlazorViewer Theme="StiViewerTheme.Office2022WhiteCarmine" />

Thank you.
Post Reply