title: Ext.Net X.GetCmp method not working with FileUploadField
body: <p>This is my first question. I am in stack overflow almost every day, but this is the first time I can't find the answer by myself and have to post it here.</p>
  
  <p>I am creating pages with <code>Ext.Net</code> dynamically (in VB.net if it matters), based on a XML configuration, with all kind of controls and any number of them. So, for each field in the XML, I create the control and assign an ID to it (the ID is from the XML). I have a "submit" button that, when clicked, parse the XML again, get the ID of each field, and gets the control for this ID with <code>Ext.Net.X.GetCmp</code>. Then, once I have the control, I get the value and do some stuff with it. Everything works like a charm except for the control type <code>FileUploadField</code>. According to <a href="http://forums.ext.net/showthread.php?16885-how-to-get-the-FileUploadField-fullpath-in-code-behind-use-it-s-I" rel="nofollow">this</a>, for some reason, <code>GetCmp</code> doesn't work with <code>FileUploadField</code>.</p>
  
  <p>So, my question is: Is there some way to get a <code>FileUploadField</code> control based on it's ID? And, just to know, why <code>GetCmp</code> doesn't work with this kind of control?</p>
  
  <p>Thank you very much in advance, and sorry for my bad english.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Ok, I have updated my Ext.Net to the latest version (2.2). Everything now looks strange, but it doesn't matter, if it works. Besides the appearance, I don't see any change in the behavior. GetCmp is still giving me the same. By the way, X.GetCmp(Of Ext.Net.FileUploadField)(ControlID) gives me a FileUploadField, not null, even if I don't create the control. The only thing, is that hasFile=false always, and the filebytes are empty.</p>
  
  <p><strong>EDIT 2:</strong></p>
  
  <p>I have run your example code and it works like a charm. I start thinking that the "isUpload" is the key.  I Have been googling all the day trying to see where and why do I have to write this {isUpload=true}, but I didn't see anything useful. Can you explain it to me a little bit? Is only for DirectMethods? Is mandatory? Thanks a lot!</p>
  
  <p><strong>EDIT 3:</strong></p>
  
  <p>I feel sooooo stupid now. It works. Just added a simple isUpload:true in the DirectMethod call in a javascript. So many days to solve this stupid thing. For the next guy: check your isUpload ;).</p>