Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to access dragdropservice #137

Open
snehabihani opened this issue Mar 9, 2022 · 8 comments
Open

Not able to access dragdropservice #137

snehabihani opened this issue Mar 9, 2022 · 8 comments

Comments

@snehabihani
Copy link

Can you please help . I am not able to access drag and drop service

@ViRuSTriNiTy
Copy link
Collaborator

ViRuSTriNiTy commented Mar 9, 2022

Can you please explain in detail what the issue is?

@snehabihani
Copy link
Author

snehabihani commented Mar 9, 2022 via email

@ViRuSTriNiTy
Copy link
Collaborator

Please show us a call stack to allow narrowing down the issue.

@snehabihani
Copy link
Author

image
Check the error window.

@ViRuSTriNiTy
Copy link
Collaborator

ViRuSTriNiTy commented Mar 9, 2022

This service class is used by the DropZone component internally and you should not try to access it. The documentation states clearly what steps are required to get started, injecting DragDropService is not one of these steps.

So, why do you want to inject this service?

@snehabihani
Copy link
Author

snehabihani commented Mar 10, 2022 via email

@ViRuSTriNiTy
Copy link
Collaborator

ViRuSTriNiTy commented Mar 10, 2022

DropZone provides the event OnItemDrop for this.

Currently the event only sends the dragged item so you need to assign individual event handlers per drop zone to know which drop zone is the target.

@snehabihani
Copy link
Author

Hi I have developed something like this "https://blazordragdrop.azurewebsites.net/displaygrid". So I want the item where item got dropped. not the item which is dragged. Is there any way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants