Search

Atalasoft Knowledge Base

HOWTO: Enabling Thumbnail Drag and in WebDocumentThumbnailer

Administrator
DotImage

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

Details
Last Modified: 6 Years Ago
Last Modified By: Administrator
Type: HOWTO
Article not rated yet.
Article has been viewed 398 times.
Options
Also In This Category