Hi all,
Hi,
Hi,
Thanks for your posting and considering Aspose.Cells for GridWeb.
Aspose.Cells for GridWeb provides two methods.
GridWeb1.WebWorksheets.ImportExcelFile() method loads file from the server inside the GridWeb
While
GridWeb1.WebWorksheets.SaveToExcelFile() saves GridWeb into a file or memory stream.
You can use these methods to load file from server and save file to server.
I
have attached the sample project that should also be runnable on
Internet Explorer that explains how to load or save file to server from
GridWeb.
Please read the readme.docx file attached by me for more help.
Download Links:
Please also check Aspose.Cells for GridWeb demos from the following link.
In order to run the GridWeb on Internet Explorer, I have added the following line in the head section.
You can also try changing this line into IE9 like this
Hi,
Thanks for your posting and using Aspose.Cells.
Page.IsPostBack property tells if the page is loading first time or if it is a post back. Similarly, GridWeb1.IsPostBack tells if the gridweb is being loaded for the first time or if it is post back from Grid itself. For example, if you click the save button of the gridweb, the GridWeb1.IsPostBack property will return true.
The significance of this line is that GridWeb is loaded on a first time only and on subsequent posts back, it is not loaded again. If you will not use this line, then GridWeb will be loaded every time when page_load event is called.
If you are having some problem with your button control using GridWeb, then please provide us simple ASP.NET website, so that we could run it at our end and fix this issue.
Ok I am having issue with button click.
Hi,
Thanks for your sample project and using Aspose.Cells.
Please check the attached fixed project. Now it uses
GridWeb1.ImportExcelFile(filePath);
and not the
GridWeb1.WebWorksheets.ImportExcelFile(filePath);
and it works fine.