Hide side panel and keep annotation toolbox draggable using .NET front end

Using the latest sample front end here:

GroupDocs.Annotation Product Family · GitHub

And using these settings:
@(Html.Annotation()
.ElementId(“annotation-widget”)
.FilePath(“Quick_Start_Guide_To_Using_GroupDocs.pdf”)
.ShowZoom(true)
.ShowPaging(true)
.ShowThumbnails(true)
.OpenThumbnails(false)
.DisconnectUncommented(true)
.PreloadPageCount(3)
.EnableRightClickMenu(true)
.ShowFileExplorer(true)
.Tools(AnnotationTools.All)
.ShowHeader(true)
.EnableSidePanel(false)
.ClickableAnnotations(true)
.AccessRights(AnnotationReviewerRights.All))


The result is that the “Side Panel” is still visible even though it should be hidden. That appears to be due to AnnotationWidget.js around line 281 not checking for that setting before adding the side panel.

However, if you do add a check to that area of code so that the “Side Panel” is not added, then the Annotation Toolbox is no longer draggable.



Hi Hendrix,

Thank you for the detailed information and your anticipation.

We will further investigate on GroupDocs.Annotation for .NET showcase example and will share our findings. However above mentioned front-end is open source and you can also modify it as per your requirements if you want.

Thank you for your cooperation.


Warm Regards,

@hendrixjason

We are glad to inform you that GroupDocs team has launched an other exciting front-end example for our customer with simplified code and latest UI. Please click here to explore the new front-end to avoid issues and difficulties with old front-end.

If you will need any help or you will have any other questions regarding GroupDocs.Annotation for .NET API please feel free to ask.

Warm Regards,