Sep 23, 2011, 6:08 PM
[CLOSED] FileUploadField in class file
I'm building a "file upload" window that I want to be able to use in several places inside my application...so I'm creating a FileUploadWindow.cs, inheriting from Ext.Net.Window and then programmatically putting my controls in a form.
From doing similar things before, I know that since the control is rendered dynamically (using the X.render stuff), I can't use DirectMethods (or I suppose DirectEvents) on the control. If that is the case, how do you upload the file and save it server side without being able to use a DirectEvent (for either an upload button click or the FileSelected event)?
Thanks!
Jason
From doing similar things before, I know that since the control is rendered dynamically (using the X.render stuff), I can't use DirectMethods (or I suppose DirectEvents) on the control. If that is the case, how do you upload the file and save it server side without being able to use a DirectEvent (for either an upload button click or the FileSelected event)?
Thanks!
Jason
Last edited by Daniil; Sep 26, 2011 at 2:45 PM.
Reason: [CLOSED]