Free Support Forum - groupdocs.com

Simple change document via codebehind asynchronous


#1

I am not terribly familiar with Jquery and how to integrate it.

I have created a very simple VB .net project with an AJAX scripmanager and panel with the groupdocs viewer inside and would like to press a button elsewhere on the form and have the document in groupdocs.viewer change.



From what I can tell I need to use the loadDocument jquery method as detailed on : http://groupdocs.com/docs/display/viewernet/Description+of+GroupDocs.Viewer+JavaScript+widget+methods under point 19, but do not know how to integrate this into my server side vb script although I am sure it is a breeze for somebody comfortable with Jquery.



Could you please examine my simple project on the onedrive link below and advise or modify it to achieve the document change it attempts unsuccessfuly.







Many thanks in advance.


#2

Hi,


Sorry for the delay. Please find your example attached to this reply.

Best regards.