So I'm checking for a textbox to be filled in (a description). And if it's not filled I'm calling
Now I should see a 'Resume' button on the upload control, but it goes to 'Browse' instead. (It looks like it might go from resume to browse really quickly).
I don't see anywhere else in my code where I would change the state.
Also if I do it a second time it works. That is if I click browse after the failure and select a new or same file, then press upload. I'll get the same error message, but this time I'll have a 'Resume' button there, so I can add my text and upload it without having to reselect it.
private
void
radUploadAttach_FileUploadStarting(
object
sender, Telerik.Windows.Controls.FileUploadStartingEventArgs e)
{
if
((tbFileDesc.Text ==
null
)|| (tbFileDesc.Text.Trim().Length < 1))
{
writeErrorMessage(
"You must enter a description"
, borderMsg, txtMessage);
Dispatcher.BeginInvoke(() => { radUploadAttach.PauseUpload(); });
Now I should see a 'Resume' button on the upload control, but it goes to 'Browse' instead. (It looks like it might go from resume to browse really quickly).
I don't see anywhere else in my code where I would change the state.
Also if I do it a second time it works. That is if I click browse after the failure and select a new or same file, then press upload. I'll get the same error message, but this time I'll have a 'Resume' button there, so I can add my text and upload it without having to reselect it.