Is there a clientside equivalent of "DesignMode" - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Is there a clientside equivalent of "DesignMode"

  • Is there a clientside equivalent of "DesignMode"
  • Or should I just do a jquery selector on an element that would only exist in design mode?
  • Hi Steve,

    You can send the value through GetScriptDescriptors()

    descriptor.AddProperty("isDesignMode", this.isDesignMode);

    All the best,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  • What about in MVC widget ?

    I have reference in the .cshtml to my JS like @Html.Script("/Mvc/Scripts/MyScript.js")

    Then how in this script to determine whether I am in design mode - without make query selectors over the DOM in the HTML?

    Is there something like Sys.IsInDesingMode ?