We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Client script does not work after async postback

Hi ,

I am rendering excel sheet asynchronously. At the same time I want to disable manual data entry on grid cell. My script works fine when page loads for the first time. As soon as I do change tab or scroll the page down, it does async postback and after that it breaks the client side script and it lets me type data on cell. Can you please help me to fix this. So that gridweb behaves consistently on postbacks. I am attaching sample application and screenshot for your reference.

Thanks in advance.

Jagriti

Hi Jagriti,

Thanks for your posting and using Aspose.Cells for GridWeb.

I commented the async code and it is still not working as you have mentioned. So it means, it is not related to async mode but the javascript code is not correct. You should find some other way to make it work as you expected.

If you want to make GridWeb read-only, then there is simple way. Just use this line below and it will make the gridweb readonly.

GridWeb1.EditMode = false;