I want to make sure someone puts in a Description before they upload a file. Not like the example where the description is put in after. I can do it with manual upload like:
But then I want to add the description to my AsyncUploadConfiguration. I'm setting this on the server side though.
How can I add on to my AsyncUploadConfiguration from here? I'm not so good at javascript so maybe this is easy.
I guess I could do a Response.write with the startmanualUpload function, but that was acting a bit strange.
function startManualUpload() { var tb = $find('<%=tbFileDesc.ClientID%>'); var tbtxt = tb._text.length; if (tbtxt == 0) { //write some error
} else { var upload = $find('<%=radUpAssoc.ClientID%>'); upload.startUpload(); }}But then I want to add the description to my AsyncUploadConfiguration. I'm setting this on the server side though.
How can I add on to my AsyncUploadConfiguration from here? I'm not so good at javascript so maybe this is easy.
I guess I could do a Response.write with the startmanualUpload function, but that was acting a bit strange.