Adding to my previous question, it came another problem to resolve...
I must be able to stop the uploading process in the very beggining of it if I have some bad (custom) validation result in my GridView.. (for visual reference please check the attached file on my first post).
Example: Image that I wanted to show a confirm dialog with "Ok" and "Cancel" when the user clicks the Upload button... how should I proceed if the user clicks "Cancel"? I mean, canceling the Upload without
cleaning the items in the RadUpload control?
I've tried to poorly work arround the problem with:
public void radUpload_UploadStarted(object sender, UploadStartedEventArgs e)
if (cancelar == true)
> lista = RU.CurrentSession.SelectedFiles;
RU.CurrentSession.SelectedFiles = lista;
But, the aproach is lame,
is ReadOnly and lista is copied by reference so when
gets empty, lista does also...
Can you please help me with these two problems?