Telerik Forums
UI for Blazor Forum
0 answers
103 views
if we need to make some fields read-only for some specific rows
Aleksandr
Top achievements
Rank 1
Bronze
Bronze
Veteran
 asked on 29 Aug 2022
2 answers
170 views

Hey,

I don't see any real way to support enums with the [Flags] attribute for Grid and Filter. The display in the grid column is fine, but the filter menu is useless as it only does a straight up comparison to single values.

It would be great if the filter on the grid (and the filter component) had an option for HasFlags, where you can select a value to compare for it. 

Nadezhda Tacheva
Telerik team
 answered on 29 Aug 2022
1 answer
100 views

I find the Blazor controls take up a lot of space with large amounts of padding and margin. The controls are just too large for my taste.

I see a few posts about a new feature which allows small / medium / large sizes but this is still very arbitrary when trying to design a specific layout.

Is there a way to make controls a certain percentage size across a page? So either specific controls or the entire page could be set to say 1% to 5000% and all CSS will resize in proportion?

Dimo
Telerik team
 answered on 25 Aug 2022
1 answer
749 views

the built in Grid loading animation appears to default to k-loader-spinner-3.  How can I change this to k-loader-spinner-4 to match the loading animation in the rest of my application?

 

Dimo
Telerik team
 answered on 24 Aug 2022
1 answer
104 views

Hello,

Please see attached image. How does the dark or light theme change button on demo page (red circled in the attached image) work ?

Can someone share the code associated with it ?

Thanks & regards,

Milind

Dimo
Telerik team
 answered on 24 Aug 2022
0 answers
99 views

I want to draw Gantt Chart Template with no tree view as presented below. It is possible to do it?

Image

Stoll
Top achievements
Rank 1
 asked on 22 Aug 2022
8 answers
11.3K+ views

Blazor WebAssembly on .Net 5

After updating Telerik.UI.For.Blazor to version 2.23.0 I often see an error in the Console "Could not find 'TelerikBlazor.getLocationHost' ('TelerikBlazor' was undefined)." after doing a build and refreshing the page. If I then refresh the page again the error will not reappear.

I am only using the TelerikGrid.

 

crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
      Unhandled exception rendering component: Could not find 'TelerikBlazor.getLocationHost' ('TelerikBlazor' was undefined).
      Error: Could not find 'TelerikBlazor.getLocationHost' ('TelerikBlazor' was undefined).
          at https://localhost:44359/_framework/blazor.webassembly.js:1:1287
          at Array.forEach (<anonymous>)
          at e.findFunction (https://localhost:44359/_framework/blazor.webassembly.js:1:1247)
          at b (https://localhost:44359/_framework/blazor.webassembly.js:1:2989)
          at https://localhost:44359/_framework/blazor.webassembly.js:1:3935
          at new Promise (<anonymous>)
          at Object.beginInvokeJSFromDotNet (https://localhost:44359/_framework/blazor.webassembly.js:1:3908)
          at Object.w [as invokeJSFromDotNet] (https://localhost:44359/_framework/blazor.webassembly.js:1:64232)
          at _mono_wasm_invoke_js_blazor (https://localhost:44359/_framework/dotnet.5.0.4.js:1:190800)
          at do_icall (<anonymous>:wasm-function[10596]:0x194e4e)
Microsoft.JSInterop.JSException: Could not find 'TelerikBlazor.getLocationHost' ('TelerikBlazor' was undefined).
Error: Could not find 'TelerikBlazor.getLocationHost' ('TelerikBlazor' was undefined).
    at https://localhost:44359/_framework/blazor.webassembly.js:1:1287
    at Array.forEach (<anonymous>)
    at e.findFunction (https://localhost:44359/_framework/blazor.webassembly.js:1:1247)
    at b (https://localhost:44359/_framework/blazor.webassembly.js:1:2989)
    at https://localhost:44359/_framework/blazor.webassembly.js:1:3935
    at new Promise (<anonymous>)
    at Object.beginInvokeJSFromDotNet (https://localhost:44359/_framework/blazor.webassembly.js:1:3908)
    at Object.w [as invokeJSFromDotNet] (https://localhost:44359/_framework/blazor.webassembly.js:1:64232)
    at _mono_wasm_invoke_js_blazor (https://localhost:44359/_framework/dotnet.5.0.4.js:1:190800)
    at do_icall (<anonymous>:wasm-function[10596]:0x194e4e)
   at Microsoft.JSInterop.JSRuntime.<InvokeAsync>d__15`1[[System.String, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at Telerik.Blazor.Components.Dialog.DialogBuilder.OnAfterRenderAsync(Boolean firstRender)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)

 

 

Tony
Top achievements
Rank 1
Iron
 updated answer on 22 Aug 2022
0 answers
152 views

I am designing an application (C#) with plug-ins (Blazor server-side application with RCLs as "plugins").

Each plugin contain its own reference to "Telerik UI for Blazor" and other common libraries. The reason is that e.g. "Plugin 1" could live for some time without being touched and thus reference an older version of Telerik components (e.g. 3.3.0), while "Plugin 2" is updated more often and can therefore get newer versions of Telerik.

I know the above results in conflicts like "Cousin dependency" or "Nearest Wins". I need to strictly load all assemblies and their dependencies as they were compiled with their respective dependencies. The final product is being released in a highly regulated environment which is why you just dont update all plugins to support the latest and greatest :-)

Any idea on how to accomplish this?

Project specs: Blazor server side, .NET 6+, Telerik UI for Blazor

 

ZwapSharp
Top achievements
Rank 2
 asked on 21 Aug 2022
0 answers
244 views

Hi everyone,

I've tried to use the Media Query Component, and it worked and all was fine in Chrome on the simulator, also on Android Devices, but when I arrived to test the design on iPhone that didn't work. Then I belived that maybe it's Safari the problem and I downloaded Chrome on iPhone, but I had the same issue on Chrome too. I don't know how to solve it, maybe if I will try from CSS directly to solve it will work.

I have checked the viewport meta tag, I believed that was missing, but no, it was there in the _Host.cshtml file.
Does anyone encountered this issue till now?
My app is a Server Side Blazor app.

Thank you in advance.
Best regards,
Cipri

Ciprian Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 20 Aug 2022
0 answers
948 views

Hello,

I referred the following link -

https://docs.telerik.com/blazor-ui/knowledge-base/change-theme-runtime

Attaching the project where in I have tried to implement the code but its not working. Trying to resolve since last 3 to 4 days but unable to get solution. Can someone put me in correct direction.

 

Thanks & regards,

Milinnd

Milind
Top achievements
Rank 1
 asked on 20 Aug 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?