Hi,
I've been trying to change the save location for the uploaded file using the customFileName example but I get the error: 'The given key was not present in the dictionary' on the line string fileRoot = file.UploadRequest.Data["fileRoot"];
The key isn't getting set but I've checked the JavaScript function that sets the key and it is called okay. The client code is:
function onSessionStarted(data)
{
kw("<%=SlickUpload1.ClientID %>").set_Data("fileRoot", "Uploads");
}
I was playing around with this for hours and couldn't see any reason why it wasn't working so I ran the examples in VS2010 and I get the exact same error with the customFileName example. The version I am using is: 6.1.2.14943 and it is licensed.
Any ideas what might be happening?
Thanks
Simon