GdPicture and MVC5

Discussions about DocuVieware integration in GdPicture.NET.
Post Reply
pete
Posts: 21
Joined: Wed Mar 25, 2015 10:11 pm

GdPicture and MVC5

Post by pete » Wed Mar 25, 2015 10:45 pm

Hi guys,

i have experienced interesting issue. I have created out of the box MVC5 application.
I have included DLLs, setup Global.aspx file and created view that show DocuVieware. Once I have done that, I run the app, it opened everything,but everytime i click on Docuvieware control I get error like in the screenshot.
I do not have similar problem when creating a simple ASP.NET app

Is there a plan of posting manual on how to implement viewer in MVC?

Thanks.

Peter
Attachments
JS_Error.png
JavaScript Error

pete
Posts: 21
Joined: Wed Mar 25, 2015 10:11 pm

Re: GdPicture and MVC5

Post by pete » Wed Mar 25, 2015 10:58 pm

Hey guys. I was able to solve that.
I had to change value from EmbedJquery from false to true

<cc1:DocuVieware ID="DocuVieware1" runat="server" Height="1000px" Width="100%" w="false" ForceScrollBars="False" AllowedExportFormats="*" MaxUploadSize="52428800" CollapsedSnapIn="True" EmbedJQuery="true" />

I hope to see more programming manuals in the future :)

Peter

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: GdPicture and MVC5

Post by Loïc » Thu Mar 26, 2015 11:33 am

Hello Peter,

EmbedJQuery is true by default. You can turn it to false when your produced pages already embed this library before the control declaration.

Cheers,

Loïc

pete
Posts: 21
Joined: Wed Mar 25, 2015 10:11 pm

Re: GdPicture and MVC5

Post by pete » Thu Mar 26, 2015 1:10 pm

Hi Loïc, thank you. As alywas :) :D

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest