Widget Control Designer Error
I'm trying to create a control designer but getting a javascript error in the script file. At line 2 below the error is "function expected". What did I miss?.
1.
refreshUI: function ()
2.
var data = this._propertyEditor().get_control();
3.
jQuery("#Title").val(data.Title);
4.
,
Hello Dallas,
The PropertyEditor represents dialog control for editing control properties.It gets or sets the reference to the parent property editor control when you have more than one view in the control designer ( for instance NewsControlDesginer) - get_propertyEditor()
You should use
// gets the javascript control object that is being designed
get_controlData: function ()
return this.get_propertyEditor().get_control();
,
Greetings,
Ivan Dimitrov
the Telerik team