SlickUpload triggers the validation on the page by default to ensure that it is valid to start an upload. If you don't want to trigger validation, you can turn off the auto upload trigger and start the upload using javascript. To do this:
- Set the AutoUploadOnPostBack="false" attribute on the SlickUpload control.
- Add a function to trigger the upload (replace SlickUpload1 with the ID of your SlickUpload control)
function startUpload()
{
kw.get("<%=SlickUpload1.ClientID%>").submit();
}
Then call the function from the onclick event of the upload button. If you're using OnClientClick, you'll need add return false at the end to keep ASP.NET from overriding the upload:
OnClientClick="startUpload();return false;"