[CLOSED] TextField with right buttons

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [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 :

    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]

Similar Threads

  1. Replies: 5
    Last Post: Aug 16, 2013, 2:40 PM
  2. [CLOSED] TextField next to a Button declared in Buttons section
    By jeybonnet in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 29, 2011, 7:31 AM
  3. [CLOSED] [1.0] Spinner buttons on normal TextField?
    By danielg in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Sep 22, 2010, 2:36 PM
  4. [CLOSED] [1.0] Radio buttons that appear as buttons
    By MP in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 24, 2010, 6:28 PM
  5. Image buttons / Custom built buttons
    By conman in forum 1.x Help
    Replies: 2
    Last Post: Jul 15, 2008, 11:01 AM

Posting Permissions