It only confirms what I suspected -- RadUpload doesn't function when disabled. Not even it's non-UI functionality such as actually starting the upload.
My entire 1M+ lines-of-code application is built with hundreds of dialogs that busy when an action button is executed, including one where we're trying to use RadUpload. The idea is to "lock down" the UI elements inside the dialog while the action is executing. So the sequence is:
- Lock down dialog
- Call RadUpload.StartUpload()
- Unlock dialog
So my problem is that I can't easily take the RadUpload control out of my dialog framework. What's more, I don't want to. I won't want the control to be modifiable while the upload processing is underway (this includes some pre-work I must do before the actual upload starts).
Is there no other alternative?
Also, can Telerik please reconsider blocking StartUpload with IsEnabled? Just block the UploadCommand's CanExecute method (since that
is what people will bind to the UI) and leave StartUpload() to actually do the upload regardless of IsEnabled (since that
is what people with more complex integration needs will rely upon).