Page 1 of 1

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

Posted: Tue Jul 07, 2020 1:50 pm
by bipos
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

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

Posted: Thu Aug 27, 2020 10:45 am
by Fabio
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