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.
Code:[DirectMethod]
publicvoid GetResult()
{
string x;
x = X.GetCmp<DateField>("DateField2").Text;
}