DnD In Web Client?

Hi Folks - I have my image DnD working nicely in SC now but the same functionality in WC seems to simply drop the file in the browser. So instead of my code being activated to save the file simply opens the file (an image ) in the browser window.

How can I get the file to be actioned by my code in the DnD event??

Secondly, I have tried to temporarily obviate the need for DnD in the WC by using the following code in the onDragOver event

if (event.getSource() && event.data && application.getApplicationType()!=APPLICATION_TYPES.WEB_CLIENT){
		return true;
	}
	return false;

This should (AFAIA) prevent the onDragOver from showing in the client and prevent a drop?? Is that correct??

Dropping a file into a browser window is not possible, as far as I see that. Not for Servoy and not for any other application. It is simply not allowed.

patrick:
Dropping a file into a browser window is not possible, as far as I see that. Not for Servoy and not for any other application. It is simply not allowed.

OK I can get behind that Patrick - thanks for the feedback.

Do you have a method to block the DnD onDragOver or onDrop events firing when in WC then? Looks like they are allowed and checking the status of the Client type and returning False seems not to work??