groupdocs-annotation / GroupDocs.Annotation-for-.NET-MVC

Moved to https://github.com/groupdocs-annotation/GroupDocs.Annotation-for-.NET/tree/master/Demos/MVC
https://products.groupdocs.com/annotation/net
MIT License
3 stars 0 forks source link

Can we hide selected Annotation type when save button is pressed? #71

Closed atirtahirgroupdocs closed 3 years ago

atirtahirgroupdocs commented 3 years ago

This issue is raised in https://forum.groupdocs.com/t/selected-annotation-type-hide-when-save-button-press/9605

Hi, Is there a way to hide the selected annotation type when we/user press the save button? User wants to hide the selected annotation type options when saving the document. Have a look at the attached screencast. hideannotation.zip

bobkovalex commented 3 years ago

Hi @atirtahirgroupdocs

At the moment there is no way to hide annotations. And I suggest to not remove them like in the screencast you've shared, because removed annotations will be deleted upon document saving. UI annotations are used for annotation editing, even after you have saved document you still able to edit your previous annotations.

Anyway, we will add an improvements which will have a show/hide UI annotation toggle button.

Regards, Alex

bobkovalex commented 3 years ago

@atirtahirgroupdocs

We've implemented show/hide UI annotations toggle button. Just rebuild GroupDocs.Annotation MVC project. 115723309-85c39800-a388-11eb-8b8c-fbd914910c34

Regards, Alex

ImSMRizwan commented 3 years ago

@bobkovalex, I checked and rebuild the project, but no changes effected.

image

kegor commented 3 years ago

Hi @ImSMRizwan,

Could you please try following steps:

  1. Remove file GroupDocs.Annotation-for-.NET-MVC/src/client/package-lock.json
  2. Remove folder GroupDocs.Annotation-for-.NET-MVC/src/client/node_modules/@groupdocs.examples.angular
  3. Rebuild and run solution.
  4. Refresh app in browser using Ctrl+F5.

Thank you, Egor.