We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to create button Open file when working with MasterPage?

I working with Masterpage then Error:

Thanks for your inquiry. This error is not related to Aspose.Words. This is JavaScript error it occurs on client side and Aspose.Words works on server side.
It seems that problem occurs in FreeTextBox control that you are using to show Word document as I can see from your code.
If you need to show word document on your web page you can also use Aspose.Editor. Please see the following link for more information:
Best regards.