Cannot find AjaxResult in Dynamic Control Creation
Hello,
I am trying to implement adding controls from a controller action similar to https://forums.ext.net/showthread.ph...oller-function The previous example uses
Code:
return new AjaxResult ( script )
, but I cannot seem to find where the class is defined. I am currently using
Code:
return this.Direct ( script )
The call succeeds, but no control is added to my panel. Which library contains My function in javascript receives the following result
Code:
Ext.getCmp("DesignerDrawPanel").add({xtype:"textfield",x:567,y:270,fieldLabel:"New TextField",value:"Testing"});
Do i need to add this to my page somehow in the javascript function? I have added it to my page using ...is that how it is supposed to work?
Thank you.