chaa
Apprentice

DragandDrop control in K2 Five

Hi,

 

Is there a way to create a Drag and Drop file attachment control in K2 5.3? I followed the topic -- https://community.k2.com/t5/K2-blackpearl/Drag-and-Drop-Upload-Control/ba-p/63942?nobounce ,  but this does not work .  I get the error in Runtime browser --  MIME type ('text/html') is not executable, and strict MIME type checking is enabled. 
Has someone able to make it work in K2 5 version or is there another way to get a drag and drop control? 

0 Kudos
Reply
4 Replies
lkimberly
Apprentice

Re: DragandDrop control in K2 Five

Hello  @chaa ,


 


Just to let you know there's an existing feature request on a drag and drop functionality for the upload of attachments:


https://blackmail.k2.com/Messages/Multiple-file-uploaded-control-with-drag-and-drop.html


It is being considered for a future release of the product. 


 


Regards,


Kimberly 



K2 will not accept any liability for any issues arising from actions taken in respect of information provided by any forum member.
0 Kudos
Reply
chaa
Apprentice

Re: DragandDrop control in K2 Five

Thanks  @lkimberly for the reply.

Also the library mentioned in my post works fine for me now in K2 5.3 . 
_getImageURL() in .js file is giving the issue. For now we can comment the way web resource files are referenced in this method -- 

imageURL = <%= WebResource("DragAndDropControl.Resources.CSVGeneric.png")%>

Build the dll , register it and it works fine for single file drag and drop upload.

0 Kudos
Reply
tbyrne777
Contributor

Re: DragandDrop control in K2 Five

Sorry to bring this thread back but do you still have anything related to the article you reference here? It no longer appears to be a valid link
0 Kudos
Reply
JasonFlanigan
Novice

Re: DragandDrop control in K2 Five

@chaa 

When you have a second can you share your solution?  The thread referenced is no longer valid and any direction would be appreciated.

0 Kudos
Reply