I have a page with user control A and user control B.
In user control A, I have a RadAsyncFileUpload. while I click on a button (say Next) The page loads user control B. I have a breadcrumb set on top of the page. So what I want is when I hit the breadcrumb to load the previous state (i.e. load user control A again) I want the RadAsyncFileUpload to retain the file information and value.
How can I achieve that? I' pretty new to telerik.
I tried the following from the back end (so that only hitting the cancel will triger postback, all other click will retain the information for the upload control)
Telerik.Web.UI.RadButton btncancel = (Telerik.Web.UI.RadButton)this.Parent.Parent.FindControl("btn_Cancel_ID");
RadAsyncFileUpload.PostbackTriggers = new string[] { btncancel.ID };
I also have "AllowedFileExtensions" on the file upload control. with the postback trigger being enables as above, when I try to navigate clicking the next button, it's not finding any file uploaded in the first place and I'm getting "RadAsyncFileUpload.UploadedFiles.Count" to be zero.