Graphical objects loaded twice

I am using aspose.cells to make some as .net pages.

I am loading an excel into the gridweb object. and the sheet appears.

But when I click the save or Submit button at the bottom, it adds a second graphical obkject in the screen ???

the code is very simple :

Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub form1_Load(sender As Object, e As EventArgs) Handles form1.Load
GridWeb1.WebWorksheets.ImportExcelFile(“f:\guido.xlsx”)
End Sub
End Class

WHat is wroing ?

guido

Hi,


Thanks for sharing the template file and sharing some details.

Well, it works fine as I tested with your file, I loaded the file into GridWeb with latest version v2.7.23.2001 with latest acw_client folder files. I got the Chart image is rendered only once, see the screen shot attached. I tested your scenario in an ASP.NET web solution, the solution works fine on IIS as well. I used Google chrome and IE browsers to open the web page(s)

Please try our latest version/fix: Aspose.Cells.GridWeb v2.7.23.2001,

Let us know if you still find the issue.

Thank you.

yes I loaded the last version.

When I add the gridweb object and run it with Internet explorer, I get following error (see attachment )

I am running Visual Studio Express 2012 for Web.

I am referencing Aspose.cells.Gridweb for .Net 2.0 ( version 2.7.23.200 ) ( see screenshot )

I have added my project

Any ideas what I am doing wrong ???

thsnkd

Hi Guido,

Thank you for sharing more details for our reference. While checking the screenshots shared, I have noticed that you are not using the latest fix version of Aspose.Cells.GridWeb v2.7.23.2001 control as suggested by my colleague here. It is recommended that you should use the latest version and also replace the existing acw_client folder with new one. In case your problem persists, please share a runnable sample project. The archive attached to your recent reply contains only solution file, that we cannot use to execute the project on our end.


ok, you were right, i was targetting an older version.
AFter that, the Internet Explorer errors disappear.

But the graphical objects are still loaded multiple times when I click another sheet, or when o try to save of submit.

I have appended the complete project - sorry for not including everything before.

One question, where do I put the acw_client directory. It seems to me these files are not replicated in the project directory ??

thank you for your much appreciated help

Hi,


I have run your project, it works fine and I don’t find this issue (loading chart image twice). I even navigated to other sheets and then back to first one, see the attached screen shot taken for your reference.

For your other query, you may create “acw_client” folder and then then add all the files from the source directory to it in Solution explorer in VS.NET. Also, please add the following lines to code to your Web.config file:




Thank you.