Loader : unable to find a reference for ThemeConstants

1 Answer 92 Views
Loader
John
Top achievements
Rank 1
John asked on 04 Feb 2022, 09:37 AM

Hi,

 

While developing my app, I have a grid and I'd like to run the TelerikLoader while loading page or data...

I follow the example (I.E: https://demos.telerik.com/blazor-ui/grid/loading-animation)

but when I add the code, the VS2002 compiler says:

"The name 'ThemeConstants' does not exist in the current context "

I try to add the full namespace: Telerik.Blazor.ThemeConstants and it's still the same....

does anyone has a clue.

Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
commented on 04 Feb 2022, 05:21 PM

Hi John,

this is too little information. Try this first:
Create a new project with the desired behavior and test it. If the error still occurs, post it here and I can take a look.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 08 Feb 2022, 02:06 PM

John - 

Upgrade to version 3.0 or use the old LoaderSize enum for Size. See the before/after example in the Breaking Changes article.

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Loader
Asked by
John
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or