Possible "Context" recognition issues with the VS2022

I am using VS2022 and Radzen.Blazor 3.8.13. I am trying to build a Razor Class Library.

The Context from the RadzenDataList is not being recognized. Notice that none of the properties is showing. When I manually type in the properties. I get the CS1662 error

Cannot convert lambda expression to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type

If I tried to specify the Context parameter at the Template node, it is not even recognized as property.


Any help is greatly appreciated!

You need to set Context of the Template tag.

For some reason, Intellisense is not "detecting" that Context is a legit property for Template. Not sure if this is a Radzen issue or a VS2022 issue.

I am not sure why VS doesn't show it but it definitely works:

Figure it out...very interesting...the class that I had trouble with has the accessibility of its property to set to internal. The compiler doesn't realize that. Anyway, thanks for the help and sorry for the trouble. :slight_smile: