More in this section
Forums / Thunder / How to register MVC form in Backend

How to register MVC form in Backend

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Mateen
    Mateen avatar
    10 posts
    01 Aug 2012
    08 Nov 2012
    Link to this post
    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.
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    06 Jul 2015
    13 Nov 2012
    Link to this post
    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
2 posts, 0 answered