HtmlHelper is unable to get correct model in Umbraco 10 MVC views

Issues with customized MyRenderController (RenderController) and template in Umbraco10:

Template: @inherits UmbracoViewPage

If using HtmlHelper inside the view, model for HtmlHelper is dynamic instead of MyPage. When hovering ‘Html’ text over @Html.BeginForm(m => m…), showing “htmlhelper”

unable to access any properties from MyPage.

But @Model is MyPage

Is anyone able to use HtmlHelper in Umbraco 10 MVC views?


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/111260-htmlhelper-is-unable-to-get-correct-model-in-umbraco-10-mvc-views