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
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 ?