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

WebAnnotationViewer v6.0 and MS Ajax

Last post 22 Mar 2008, 11:31 AM by David Cilley. 1 replies.
Sort Posts: Previous Next
  •  14 Mar 2008, 2:27 PM 13485

    WebAnnotationViewer v6.0 and MS Ajax

    When I use WebAnnotationViewer inside of asp:UpdatePanel, I'm getting the following error on each postback:
    "Exception: 'document.frames[...]._co' is null or not an object."
    Call stack (with some omissions):
    atalaInitChild
    atalaFireEvent
    document.frames[_vp.id]._co.setZoom() <-- errors out here.

    I'm wondering if you're looking into it?

    Thanks, Sergey 

    Environment: VS 2008, target: framework 3.5 

    <form id="form1" runat="server">
    <div>
    <asp:ScriptManager ID="ScriptManager1" runat="server"/>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <cc1:WebAnnotationViewer ID="WebAnnotationViewer1" runat="server"/>
            <br />
            <asp:Button ID="Button1" runat="server" Text="PostBack"/>
        </ContentTemplate>
    </asp:UpdatePanel>
    </div>
    </form>

     

    Filed under:
  •  22 Mar 2008, 11:31 AM 13529 in reply to 13485

    Re: WebAnnotationViewer v6.0 and MS Ajax

    Currently, the WebAnnotationViewer does not work inside of an UpdatePanel.  We are working on a fix, but we don't have a time frame as to when it will be completed.

    For now, you can keep the WebAnnotationViewer outside of the UpdatePanel, and interact with it by using RemoteInvokable methods.  You should be able to achieve the same functionality by using both UpdatePanel and RemoteInvoke in conjunction with each other.


    David Cilley
    My AJAX Imaging Blog
    Atalasoft Development Team
View as RSS news feed in XML