How to register MVC form in Backend - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

How to register MVC form in Backend

  • How to register MVC form in Backend
  • 9fc895e1-64bf-4aa9-8ef3-fd867ab55cb7_mvc.png
    Hi Team,
    I have created one MVC form under Areas, I want to register it in back-end so that only Admin can access it for Insert,Update and Delete. I am able to see this widget on front-end pages.

    I am not finding way to do this, could you please help me out in resolving this issue.
    Please find the attached image for the folder structure.

    Synechron Technologies.
  • Hi Mateen,

    In order to achieve the desired result, you might need to create a custom filter and register in the Application_Start event of the Global.asax file.

    Also you may have to place an attribute above a given action and in that attribute you will have to check whether the current view is the Frontend or the backend. After that you can implement some logic to forbid the execution of the action based on the view ( frontend or backend ). The following article may be useful to you:

    Kind regards,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items