Unplanned
Last Updated: 7 Mar 2025 15:00 by Erik
Franz
Created on: 1 Apr 2022 08:05
Type: Bug Report
6
WebReportDesigner in BlazorServerApp manipulates theming
The WebReportDesigner overrides the global resources used by the kendo-UI theming used in blazor-UI as well. This occurs as soon as the WebReportDesigner gets loaded/rendered. Before, the theming is just fine and works. Then I navigate the ReportDesigner page and sizes, margins, colors, etc. change and stay changed for the lifetime of the client's app session.
4 comments
Erik
Posted on: 7 Mar 2025 15:00

Thank you Shannon!

I will give this a try.

Shannon
Posted on: 7 Mar 2025 12:38

I hope this helps you.  Whenever I navigate away from the report designer, I fire this:

 

function ClearReportDesignerTheme() {


    $("link[href='/api/reportdesigner/designerresources/js/webReportDesigner/']").remove();

    $("link").each(function () {
        var isReportingLink = $(this).attr("href").indexOf("api/reportdesigner") > -1
        if (isReportingLink) {
            $(this).remove()
        }
    })
}
Shannon
Posted on: 5 Mar 2025 15:11
I have a work around.  I'll post it as soon as I can. 
Erik
Posted on: 5 Mar 2025 14:56
Does anyone have a workaround for this?