Atalasoft DotImage 10.5 adds the ability to drag and drop pages in the
WebDocumentThumbnailer. The WebDocumentThumbnailer is the thumbnail control that
pairs with the WebDocumentViewer, our continuous scrolling web viewer.
It allows your end-users to re-order the pages in the document seamlessly.
The new order is saved when the viewer saves the document.
To enable this feature you simply need to add 'allowdragdrop: true' to your WebDocumentThumbnailer initialization
options.
_thumbs = new Atalasoft.Controls.WebDocumentThumbnailer({
parent: $('.atala-document-thumbs'),
serverurl: 'WDVHandler.ashx',
documenturl: 'TestImages/DocCleanMultipage.tif',
allowannotations: true,
allowdragdrop: true, // <-- This enables drag-drop.
viewer: _viewer
});
A complete example application is attached to this KB.
Original Article:
Q10403 - HOWTO: Enabling Thumbnail Drag and in WebDocumentThumbnailer