Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

Loading a Multipage TIF

Last post 26 Sep 2007, 1:27 PM by fjcarter. 3 replies.
Sort Posts: Previous Next
  •  07 Aug 2007, 4:20 AM 12475

    Loading a Multipage TIF

    Hi

    I plan to create a web site to be able to display multipage TIFs, and move between the image pages using client side scripting. I am not keen on doing a post back to move between images. Is this possible?

    I am also planning on doing annotations but there doesn't seem to be a way to integrate multipage TIFs with the annotation viewer control? What am I best doing in this scenario?

    Thanks

    A

  •  07 Aug 2007, 9:20 AM 12476 in reply to 12475

    Re: Loading a Multipage TIF

    Since the post I have figured out how to switch between TIF pages doing a postback with AnnotationViewer, but I haven't been able to do it on the client side. Any ideas?

    Thanks

    A

    Quick edit: Besides this, I have one other question; is it possible to get the WebAnnotationViewer working inside an UpdatePanel? At present it seems to clash with the javascript DotImage creates?

  •  15 Aug 2007, 3:06 PM 12502 in reply to 12476

    Re: Loading a Multipage TIF

    You can use a RemoteInvokable method to switch pages of a Tiff file by opening the same image at a different frame index.  Something like this:

    // Open a particular frame
    [RemoteInvokable]
    public void Remote_LoadFrame(string url, int frame)
    {
       this.WebAnnotationViewer1.OpenUrl(url, frame);
    }

    The current version of the WebAnnotationViewer(5.0d) does not work inside an UpdatePanel, however, it is possible to use the WebAnnotationViewer along side an UpdatePanel.


    David Cilley
    My AJAX Imaging Blog
    Atalasoft Development Team
  •  26 Sep 2007, 1:27 PM 12594 in reply to 12476

    Re: Loading a Multipage TIF

    Did you ever get this working without a postback?  I am trying to do the same thing.
View as RSS news feed in XML