Skip to content

File drop zone #3024

Answered by stsrki
jpacreb asked this question in Q&A
Oct 16, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

I didn't try it. But you can maybe assign the ID to the FileEdit component and then call the custom JavaScript code by using that ID to handle drag-and-drop and trigger the onchange event. Example here https://www.meziantou.net/upload-files-with-drag-drop-or-paste-from-clipboard-in-blazor.htm

To assign the ID

<FileEdit ElementId="my-file-upload" />

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jpacreb
Comment options

@jpacreb
Comment options

@stsrki
Comment options

Answer selected by stsrki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants