Telerik Forums
UI for Blazor Forum
3 answers
332 views

Working on a Blazor WASM app (.NET 8) and seeing the error below in the browser's console after successful Hot Reload from VS2022 and clicking on any button in the app. Same button works fine before the Hot Reload. The issue is not limited only to buttons. I believe this started with the latest VS update (17.10.3). The Telerik version we're using is old, 4.3.0, however we never had that particular issue before.

Anybody having the same issues? Is this VS issue?

Thank you,

Stefan

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Microsoft.JSInterop.JSException: Cannot read properties of null (reading 'addEventListener')
TypeError: Cannot read properties of null (reading 'addEventListener')
    at gD.bindEvents (http://localhost:5137/_content/Telerik.UI.for.Blazor/js/telerik-blazor.js:50:1844171)
    at gD.onAfterShow (http://localhost:5137/_content/Telerik.UI.for.Blazor/js/telerik-blazor.js:50:1844381)
    at Module.fe (http://localhost:5137/_content/Telerik.UI.for.Blazor/js/telerik-blazor.js:50:1044593)
    at http://localhost:5137/_framework/blazor.webassembly.js:1:2878
    at new Promise (<anonymous>)
    at b.beginInvokeJSFromDotNet (http://localhost:5137/_framework/blazor.webassembly.js:1:2835)
    at Object.vn [as invokeJSJson] (http://localhost:5137/_framework/blazor.webassembly.js:1:58849)
    at http://localhost:5137/_framework/dotnet.runtime.8.0.5.gongq8hbow.js:3:178364
    at Tl (http://localhost:5137/_framework/dotnet.runtime.8.0.5.gongq8hbow.js:3:179198)
    at wasm://wasm/00b2193a:wasm-function[349]:0x1fab4
   at Microsoft.JSInterop.JSRuntime.<InvokeAsync>d__16`1[[Microsoft.JSInterop.Infrastructure.IJSVoidResult, Microsoft.JSInterop, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]].MoveNext()
   at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
   at Telerik.Blazor.Components.Dialog.DialogBase.InvokeOnAfterShowAsync()
   at Telerik.Blazor.Components.Dialog.DialogBuilder.OnAfterRenderAsync(Boolean firstRender)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Nadezhda Tacheva
Telerik team
 answered on 17 Jul 2024
0 answers
74 views

How can I set the Z-index for the AnimationContainer to make it visible in the foreground ? 

I am using it inside a Window-Control (Modal=True) and that makes problems in my case...

Hendrik
Top achievements
Rank 2
Bronze
Iron
Iron
 asked on 17 Jul 2024
1 answer
76 views

Hello,

We're in need of being able to export a hierarchical grid to pdf within a Blazor WASM. Currently the only example that you are providing is to do a jQuery PDF Export Document Export using jQuery and the Kendo UI for jQuery. Do you have an example that allows us to export to PDF with the UI for Blazor library or another route we can use to get around this issue? 

Thanks!

Dimo
Telerik team
 answered on 17 Jul 2024
0 answers
100 views

I am using localisation like this: 

builder.Services.AddSingleton(typeof(ITelerikStringLocalizer), typeof(SampleResxLocalizer));

That worked just fine until I added the TelerikColorPalette-Control for the first time. Blazor throwed errors and it took me a while to get to the problem. It seems that there are missing entries in the TelerikMessages.de-DE.resx but I cannot figure out which. 

Same problem with TelerikColorPicker...

I allready downloaded the latest version of TelerikMessages.resx and TelerikMessages.de-DE.resx from the demo-project and I also tried the communtiy-version. 

How can I fix this problem ?


 

Hendrik
Top achievements
Rank 2
Bronze
Iron
Iron
 asked on 16 Jul 2024
1 answer
143 views

Hi team,

We are currently using Telerik grids for our data, with fluent theme. We were able to change most of the css for that grid, as per our requirement.

However, we were unable to replace the filter-icon.svg with ours.

I looked into other posts in this forum,  and in one post from 2020 they suggested changing the css or going through the template. But we were unable to replicate the work.

Is there any direct implementation now, to replace these icons or any other workaround ?

Nadezhda Tacheva
Telerik team
 answered on 15 Jul 2024
1 answer
92 views

Hello,

Does the Blazor Tabstrip support drag to reorder?  I see the Telerik UI for ASP.NET AJAX supports it.  This is what I need.

Thanks,

Scott

Tsvetomir
Telerik team
 answered on 15 Jul 2024
0 answers
56 views

I want to preserve new lines upon pasting content in the TelerikEditor component, which had been copied from a PDF file.  Example:

Copying this snippet from the pdf and pasting it onto the TelerikEditor results in:

1. Previous case law and legal principles 2. Statutes 3. Society's values 4. Customs and Course of dealings

Is it possible to preserve formatting of content copied from a PDF?

 

Ricardo
Top achievements
Rank 1
Iron
 updated question on 12 Jul 2024
1 answer
89 views

Hi everyone!

Ir is possible add thousands separator in the total of items in the GridColumn

 

Tsvetomir
Telerik team
 answered on 12 Jul 2024
1 answer
98 views

Hi everyone!

I hace this Rowfilter



This is the Telerik Code 

 <GridColumn FilterMenuType="@FilterMenuType.Menu" Field="@nameof(HechoDirectoClienteViewModel.FechaVencimiento)" Title="Fecha vencimiento" TextAlign="ColumnTextAlign.Right" Resizable="true" Sortable="true" Width="170px" HeaderClass="center-wrap">
     <Template>
         @((context as HechoDirectoClienteViewModel)?.FechaVencimiento?.ToString("dd/MM/yyyy"))
     </Template>
 </GridColumn>
It is possible changue the DateFormat "y/M/yyyy" to this "dd/MM/yyyy?
Tsvetomir
Telerik team
 answered on 12 Jul 2024
1 answer
51 views

I tried to figure out how to use different Item Templates within a Listview but I failed.

is it not possible ?

Dimo
Telerik team
 answered on 11 Jul 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?