ASP.NET WebForm Annotations Demo Issue - Page reloads on button press
Posted: 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
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