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
Tag: MVC
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
So you have upgraded your WebForms site to EPiServer 9 because your customer would love to use the new Forms module. Of course you can’t as the new Forms module does not support WebForms, which yo may have overlooked, as I did. I personally don’t understand why it's not supported, as the CMS still supports … Continue reading Forms and WebForms
In my last post I wrote about a way to schedule emails, instead of sending them immediately. This was for WebForms though. Getting this to work in MVC was not that easy. I am not sure if there are some bugs in EPiServer, or that I am missing something somewhere, but this is what it … Continue reading Schedule XForm data mailings in MVC
Using the Output channels within MVC requires a slightly different approach than with WebForms. So, I created a few Controllers A JsonController that handles the output for JSON. A XmlController that handles the output for XML. A TxtController that handles the output for TXT. A PdfController that handles the output for PDF. The Channels get … Continue reading Custom output for EPiServer pages, pt 3