CustomCommandButton click event not working after upgrade

We are trying to upgrade to the latest version of Aspose Cell Grid Web (2.7.11.2000), after the upgrade we've found that CustomCommandButton's which have a CommandType of "CommandButton" are no longer behaving the same.

In the older version of GridWeb (2.3.2.2000), clicking the CustomCommandButton always calls the "public void CustomCommands()" function, however this method no longer gets called after we've upgraded.

Attached are 2 projects, one using the old version, and one using the newer version. To see this behaviour you'll need to add these sites to IIS, browse to index.aspx and click the command button.

thanks,
Dave

(Indicentally does anyone know why when you just click F5 all the grid web button images are broken, but when you attach to IIS it works??)

Hi David,

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

We have run your both projects and found that custom command buttons are not working in both projects.

In order to upgrade to new version of GridWeb, you need to add the following settings in your web.config file.

Please download the latest Aspose.Cells for GridWeb version from this link: Aspose.Cells for .NET (Latest Version) and get the latest GridWeb dll from it. Also get the latest acw_client directory from it.

Once, you will apply the above app config settings successfully, your images will not disappear on F5.

We have also logged this issue for investigation. We will look into it further and advise you. Once, there is some update for you, we will let you know asap.

This issue has been logged as CELLSNET-42099.

Thanks for your reply Shakeel, much appreciated. We’re actually on a project with really strict deadlines so I’m just wondering when your team might be able to resolve this issue for us?


Our main goal is actually to get cross browser compatibility working for our client (this is why we were trying to upgrade in the first place). As an alternative to fixing the problem asap, perhaps you could point me to an older version of Aspose Cells which is cross-browser compatible AND the Command Button functionality is working? If you could do that it would get really help me get out of a difficult situation.

thanks!
Dave

Hi Dave,

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

We were able to fix this issue in acwmain.js file. It is attached with this post. We will send you a complete fix later. Now it is working fine. I have attached your project with upgraded Aspose.Cells.GridWeb dll and acw_client directory.

Also, I have added the appsettings in the web.config file which are mandatory. I have also attached the screenshot which shows the output which I got after running this project.

Screenshot:

Hi Shakeel,


Thanks very much for the fast reply! I’ve tried your example solution that you posted, but when I try to run it the CustomCommands event is still not getting hit, I’m testing it by setting up an IIS site which I suspect is different to you - you’re running it by hitting F5 (I’m doing it via IIS as this is how it will be deployed).

I’ve recorded a video for you to show me testing out your new solution, I’m hoping this might help you reproduce the same behavior that I can see.

  • Video with your fixed project http://screencast.com/t/dpEOqMAau
  • Video demonstrating old version working http://screencast.com/t/iPJZRoaylui
thanks very much for your assistance,
Dave

Hi Dave,

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

These videos will be helpful in looking into this issue. We have logged your comments in our database for investigation. We will sort out the problem and update you. Please spare us some time. Once, there is some fix or update for you, we will let you know asap.

Thanks for your help Shakeel, looking forward to a resolution. Also don’t forget as an alternative if you have an older version where the command button functionality is working AND it is cross browser compatible that would also help us get out of trouble.


thanks,
Dave

Hi,


Could you please try the attached version/fix: Aspose.Cells.GridWeb v2.7.23.2001, it should fix your issue.

Let us know your feedback.

Thank you.

Hi Amjad,


Thanks very much for your lightning fast response! Unfortunately the behaviour still seems exactly the same for me with your attached DLLs and new acw_client. Clicking the command button in IE still doesn’t seem to receive any click event, and Chrome still seems to behave a little different compared to the old version I posted previously.

Perhaps the next step is to add some extra logging which I can send back to you? Are you able to reproduce the same bug on your on IE browser because from your previous screenshots you seem to have got it working.

Anyway I have recorded another video where I use your new attachments in case it helps, but there’s really nothing new it seems to display exactly the same behaviour as before unfortunately.

http://screencast.com/t/Wdvinpwf

Any assistance is much appreciated.
Dave

Hi Dave,


Thanks for your feedback and sharing the video.

Well, you need to specify your IE to work in compatible mode (e.g IE8) as Aspose.Cells.GridWeb does not work very well in IE10/9. Please add the following lines of code in the header section in the index.aspx page:
e.g



I have tested adding these lines and then attach the project to IIS, I opened my IE10 browser type, then run the index page, now upon clicking the custom command button, the error message is printed fine below the GridWeb.

Thank you.
Thank you Amjad!!! You've fixed it!! Awesome, love your work.

I've also discovered that there wasn't really an issue with Chrome, its just my error label seemed to be floating behind the grid but I can deal with that.

Thanks once again
Dave

Hi Dave,


Good to know that your issue is sorted out now. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.

Thank you.

The issues you have found earlier (filed as CELLSNET-42099) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.