Hello Nevitha,
Thanks for supplying the full demo solution!
Unfortunately, I am still experiencing the issue with the provided solution. Occasionally (either on first page load or from refreshing the page via the F5 key) the header will be blank. I followed the provided instructions to clear the nuget cache and I also cleared the browser cache. I noticed the provided solution was set to version 17.3.0.11, so I updated to 17.3.0.18 and cleared the nuget cache again and I still experienced the issue.
Is there any other debug information I could provide that may help determine the issue? I don't see any error/debug info logged in Visual Studio's output window related to this. Are there any flags I could use to enable some type of 'debug' or 'verbose' mode for the syncfusion library?
I did mess around with enabling other debug flags for the project (set in appsettings.json) and set the "System" and "Microsoft" log level to "Debug" and noticed a pattern in the logged output. I attached two files, each showing all the logged messages after a page refresh. when the header template is not rendered, it appears that a call to "UpdateTemplate" is also absent. the below debug message shows up when the header renders properly, but is missing when the header is missing:
Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost: Debug: Invoking instance method 'UpdateTemplate' on instance '5' with callback id '1'.
there are a handful of other debug messages that also show only when the header renders, which makes me believe that something in the rendering process is breaking in some cases.
Is there anything else I could do to help debug this?
Attachment:
debug_output_fdbb9141.zip