More in this section
Forums / Sitefinity SDK / Edit mode for an MVC app

Edit mode for an MVC app

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. Ricardo
    Ricardo avatar
    1 posts
    03 Oct 2012
    05 Nov 2012
    Link to this post
    Hello everyone,

    Wondering if you can help me by explaining how we can find out in an MVC widget if the user is in edit mode. As it is an MVC app, the context this.isEditMode does not seem to work. Can anyone advise please?

    Thanks, R
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    02 Jan 2018
    08 Nov 2012
    Link to this post
    Hello Ricardo,

    Thank you for using our services.

    Sitefinity provides an extension method IsDesignMode which can help you resolve whether you are currently in page edit mode or live. More information about this functionality can be found on this blog post.

    Kind regards,
    Boyan Barnev
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

2 posts, 0 answered