Type.registerNamespace("NewsRotator");
NewsRotator.DesignerView1 = function (element) {
NewsRotator.DesignerView1.initializeBase(this, [element]);
}
NewsRotator.DesignerView1.prototype = {
initialize: function () {
NewsRotator.DesignerView1.callBaseMethod(this, 'initialize');
},
dispose: function () {
NewsRotator.DesignerView1.callBaseMethod(this, 'dispose');
},
refreshUI: function () {
var controlData = this.get_controlData();
jQuery("#txtTitle").val(controlData.Title);
},
applyChanges: function () {
var controlData = this.get_controlData();
controlData.Title = jQuery("#txtTitle").val();
},
get_controlData: function () {
return this.get_parentDesigner().get_propertyEditor().get_control();
},
get_parentDesigner: function () {
return this._parentDesigner;
},
set_parentDesigner: function (value) {
this._parentDesigner = value;
}
}
NewsRotator.DesignerView1.registerClass('NewsRotator.DesignerView1', Sys.UI.Control, Telerik.Sitefinity.Web.UI.ControlDesign.IDesignerViewControl);
if (typeof (Sys) !== 'undefined') Sys.Application.notifyScriptLoaded();