More in this section

Forums / Sitefinity SDK / Edit mode for an MVC app

Edit mode for an MVC app

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
    28 Aug 2017
    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