ASP.NET WebForm Annotations Demo Issue - Page reloads on button press

Discussions about DocuVieware integration in GdPicture.NET.
Post Reply
bipos
Posts: 1
Joined: Tue Jul 07, 2020 1:37 pm

ASP.NET WebForm Annotations Demo Issue - Page reloads on button press

Post by bipos » Tue Jul 07, 2020 1:50 pm

Hello, I have just started my trial period for GdPicture.NET 14 and was looking through the samples.

I opened "GdPicture.NET 14\Samples\ASP.NET\DocuVieware\aspnet-webform_app\DocuVieware.aspnet-webform_app.sln"
in Visual Studio Enterprise 2017 (15.9.7) and built the solution.
Server: Windows Server 2012 R2.

The solution runs, and I click on the read "Launch" button to start the demo.
However, whenever I press one of the buttons in the UI (e.g. "Stamp" or "Rectangle"), after the popup for that function opens, the whole page reloads/refreshes and the popup is gone again.

The behavior is the same in Firefox, Chrome and Internet Explorer.

Is this the default behavior for the sample? If no, how do I prevent refreshing (are the buttons sending a postback?)

EDIT: I have since created a new solution following the steps in https://www.docuvieware.com/guides/aspn ... 0page.html
This new solution has the same issue.
The buttons at the top (e.g. open document) work successfully.
But the buttons on the left (Search, Annotations, Comments, etc.) cause a page refresh

User avatar
Fabio
Posts: 39
Joined: Thu Aug 27, 2020 9:57 am

Re: ASP.NET WebForm Annotations Demo Issue - Page reloads on button press

Post by Fabio » Thu Aug 27, 2020 10:45 am

Hello,

This is not an issue.
We choosed to load everything on the server side to have zero footprint on the client.
So when you call the button "draw line" for example, it will send to the server the request, and the server will send back the rendered document.

Hope it helps,
Fabio

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests