I am capturing the CreatingContent event on file upload and cancelling it if the folder being uploaded to is not a certain folder. This works fine, however when setting CancelAction to true, I also set the CancelReason, but the only thing showing in the status column of the file upload dialogue is the word "failed".
Is there any way I could display the CancelReason in the file upload dialogue so the user knows why the upload failed?
Thanks in advance,
I believe this is by design to keep the UI consistent. The error message you set is displayed when the user hovers over the error message. You can see an example of this in my blog post (last image on page):
Excellent! Thanks David!
Can´t believe I didn´t try hovering the failed notice. This way we can output the title text by using pure css (we already had a custom css file loaded in edit mode).
If someone else is facing the same issue, you´ll need something along the lines of:
content: ": " attr(title);
No problem Daniel, glad I could help!
Thanks for sharing your css solution to displaying the message too. its gone into my "to keep" list :)