Error with Loader in UI for Blazor V3

1 Answer 66 Views
Loader
Claude
Top achievements
Rank 1
Claude asked on 19 Jan 2022, 03:19 PM

Hey guys,

I just upgraded to the new UI for Blazor 3.0.0 and I have an error 'The type or namespace name 'LoaderSize' does not exist in the namespace 'Telerik.Blazor.Components' (are you missing an assembly reference?)' Is that normal, it was ok with 2.30? Here's my line of code:

<TelerikLoader Class="loader-indicator" Type="@LoaderType.InfiniteSpinner" Size="@LoaderSize.Small"></TelerikLoader>

Thanks,

Claude.

1 Answer, 1 is accepted

Sort by
0
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
answered on 19 Jan 2022, 04:56 PM

Hi Claude,

try this:


Size="@ThemeConstants.Loader.Size.Large" 

Regards

Matthias

Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
commented on 19 Jan 2022, 05:05 PM

of course you can als use Small instead of Large 
Tags
Loader
Asked by
Claude
Top achievements
Rank 1
Answers by
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Share this question
or