HtmlForm cannot render without a reference to the Page instance. Make sure your form has been added to the control tree. ...