Oct 21, 2011, 6:23 AM
Dynamic TextField KeyUP Event
Hiii
I am using Ext.Net's Control in my WebSite.
I am creating Dynamic TextField and add it into EXT.Window but I cant call KeyUp Listener of that TextField....
TextField txt= new TextField ();
var win = new Window()
{
ID = MenuID,
Title = MenuName,
Height = 264,
Width = 221
};.
txt = new TextField() { ID = "txtEnterMessage1", EnableKeyEvents=true, Enabled = false, Text = "Hiii", Width = 207 };
txt.Listeners.KeyUp.Handler = "MessageSend(this.getValue()).toString()";
win.Items.Add(txt);
win.Render(this);
If any 1 tried out this then please send me code
With Regards
Archana Mistry
I am using Ext.Net's Control in my WebSite.
I am creating Dynamic TextField and add it into EXT.Window but I cant call KeyUp Listener of that TextField....
TextField txt= new TextField ();
var win = new Window()
{
ID = MenuID,
Title = MenuName,
Height = 264,
Width = 221
};.
txt = new TextField() { ID = "txtEnterMessage1", EnableKeyEvents=true, Enabled = false, Text = "Hiii", Width = 207 };
txt.Listeners.KeyUp.Handler = "MessageSend(this.getValue()).toString()";
Problem In this Line
win.Render(this);
If any 1 tried out this then please send me code
With Regards
Archana Mistry
Last edited by archana; Oct 21, 2011 at 6:36 AM.