-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
FP: DeclinedSync status with associated Feedback ItemSync status with associated Feedback ItemS: Wrappers (ASP.NET Core)S: Wrappers (ASP.NET MVC)
Milestone
Description
Bug report
When loading an editor through a partial View using EditorTemplateView(await Html.PartialAsync("PartialViewName")), the following error occurs:
The 'await' operator can only be used within an async lambda expression. Consider marking this lambda expression with the 'async' modifier.
Reproduction of the problem
@(Html.Kendo().Form<UserViewModel>()
.Name("myForm")
.Items(items =>
{
items.Add().Field(f => f.Username).EditorTemplateView(await Html.PartialAsync("PartialViewName"));
})
)
Expected/desired behavior
The EditorTemplateView() must accept Html.PartialAsync("PartialViewName").
Environment
- **Telerik UI for ASP.NET Core version: 2024.4.1112
- **Browser: [all]
Metadata
Metadata
Assignees
Labels
FP: DeclinedSync status with associated Feedback ItemSync status with associated Feedback ItemS: Wrappers (ASP.NET Core)S: Wrappers (ASP.NET MVC)