Edit mode for an MVC app - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Edit mode for an MVC app

  • Edit mode for an MVC app
  • 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
  • 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.