Can we load .net controls with .net functionality in episerver page?


Hi All,

I added new database in my sqlserver and initialized with "Initialize-EPIdatabase" command. I got database like epidatabase. And then created table in database for inserting data.And then created PageType, PageController(MVC) and Index view in episerver and then in page type created one more class and added some normal string properties. And written inserting functionality in controller and View. But data not inserting. Mvc code is working in episerver page? Could anybody help me is it working or not and suggest how to do this functionality without forms?  



Jun 21, 2017 15:23


Have you followed the getting started guide for Episerver CMS?

Also, when you say .net controls, are you referring to WebControls from WebForms? In that case I would suggest that you build your website using WebForms instead of MVC.

Jun 27, 2017 9:40

Hi Alf Nilsson,

Thanks for your answer. But i have requirement with MVC only actually i need custom form for developing this i tried i don't know how to create custom forms in episerver.So i tried in mvc.



Jun 27, 2017 14:24

If you want the editor to be able to create forms that a visitor can submit you either have the functions "XForms" and an addon called "Episerver Forms" that you can use.

Here you find a comparison of the two functions:

Keep in mind that XForms is quite old :)

If you mean that you as a customer creates a form that the visitor can submit, all you need to do is to implement a normal MVC. Byron Calisto has a blog post about this:

Jun 27, 2017 14:49

Thnks for your suggetions Alf Nilsson.



Edited, Jun 28, 2017 14:46
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.