Forms and WebForms pt3

And the POC and learning continues. I did not like hiding the WebForms form, and it turns out that’s not necessary. You can include the Form controls in \Views\Shared\ElementBlocks. In the FormContainerBlock.ascx I replaced the form tag with a div tag. This will be made configurable in a upcoming version of the Forms add-on, so … Continue reading Forms and WebForms pt3

Forms and WebForms pt2

The POC continues. As you may have noticed the solution I wrote about yesterday only worked sever side, no client side validation e.g. This can be fixed as well. First I added another method to my util class, to get the fake ControllerContext and refactored it, so you won’t need the Dummy controller. I just … Continue reading Forms and WebForms pt2