Sep 29, 2010, 3:38 PM
[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.
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]