May 21, 2015, 5:44 PM
[CLOSED] TextField with right buttons
Hi,
I'm creating controls dynamically :
I'm getting javascript error below When I have created TextField with right buttons :
Unable to get property 'writeTo' of undefined or null reference
Here is my code :
Vamsi
I'm creating controls dynamically :
I'm getting javascript error below When I have created TextField with right buttons :
Unable to get property 'writeTo' of undefined or null reference
Here is my code :
Ext.Net.TextField extTextField1 = new Ext.Net.TextField();
extTextField1.ID = fieldList[i].Name;
extTextField1.EnableViewState = true;
Ext.Net.Button extBtn = new Ext.Net.Button();
extBtn.ID = "extbtn" + fieldList[i].Name;
extBtn.Icon = Ext.Net.Icon.Add;
extTextField1.RightButtonsShowMode = Ext.Net.ButtonsShowMode.Always;
extTextField1.RightButtons.Add(extBtn);
Form1.controls.add(extTextField1);
Thanks,Vamsi
Last edited by Daniil; Jun 08, 2015 at 10:30 AM.
Reason: [CLOSED]