[CLOSED] get value of controls created in code-behind

Threaded View

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

    [CLOSED] get value of controls created in code-behind

    I successfully create controls based on the replies from http://forums.ext.net/showthread.php...in-code-behind
    But I am unable to get value from those controls by clicking a button. The controls is found, but value returns "". could you please advice how i can get values of those dynamically created controls? Thank you.
    [DirectMethod]
    publicvoid GetResult()
    { 
    string x;
    x = X.GetCmp<DateField>("DateField2").Text;
    }
    Last edited by Daniil; Sep 30, 2010 at 7:59 AM. Reason: [CLOSED]

Similar Threads

  1. Replies: 1
    Last Post: Nov 15, 2011, 4:48 PM
  2. [CLOSED] How to clean up dynamically created controls?
    By jchau in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Aug 23, 2011, 9:51 AM
  3. [CLOSED] Unable to access dynamically created controls
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 07, 2011, 5:49 AM
  4. Replies: 6
    Last Post: Jun 18, 2010, 4:23 PM
  5. Dynamically created controls cookbooks
    By arodier in forum 1.x Help
    Replies: 15
    Last Post: May 07, 2010, 7:12 PM

Posting Permissions