Hi,
when the user has exported the ribbon's layout, and we deploy a new version of the application (which add a new tool on one of the groups), the tools are all messed up if the user loads the exported layout.
The commands associated with the tools are wrong, and when the user presses a ribbon tool to open a window, another one is really called.
Also, the new tool does not appear by default to the layout, although the tab and group that this tool belongs has not changed it's name or id.
This causes many problems to our users.
1)Is there a fix for commands assigned to other tools when the ribbon is restored from a saved <XamWebRibbonExportData> document?
2)Is there an option to make visible the new tools when the application gets updated?
Hi Michael,
Thank you very much for providing the sample. I was able to reproduce the issue following your steps. I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 154966. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
I've also opened a private case for you so you can view the status of the development issue. The case number is CAS-124755-M6N3S9. You can view the case here: https://es.infragistics.com/my-account/support-activity
i created a sample that reproduces the behavior i described.
Please follow the following instructions in order to reproduce it
The solution contains two projects, version 1 and version 2
1) Version 1 has a ribbon with one tab item, consisting of two groups. On the first group there is Test 1 and Test 2 commands (which open the corresponding views) and on the second group there is test 2 command which opens test 2 view.
2) Run the v1 project, and export all ribbon customizations from customization window.
3) Version 2 adds a new view/viewmodel, and puts a button tool on second group before test 2 command.
4) Run version 2 of application, and import previously saved xamribbon customizations.
5) The new button (Test 3) will dissapear, (although it is a new command and in my opinion it should be shown as long as the original tab and group exist on the ribbon), but if you press on test 2 command on group 2, it will open TEST3 view, so the commands get messed!!
PS
i cannot upload the zip file to you server, is about 500kb in size...
While testing this in a sample, I was not able to reproduce the issue where the commands were incorrect. What I did find was that if I had saved a layout where a RibbonGroup had 6 tools then re-ran the application where I removed 3 of those tools and tried loading the layout, it wouldn't create the 3 tools that it should have. Are you seeing this behavior?
Now with the commands, maybe I'm just confused on the process for reproducing this. I created a command and attached it to a ButtonTool in my first group. I then saved the layout. After this, I added another group with some other tools in it and re-ran the application. I then loaded the layout. This removed the second group and tools that it had but the command on the first group's ButtonTool still fired properly. Can you provide me with a sample that demonstrates the command issue along with some steps for reproducing it?
Hi Rob,
i am using SL IG2013.1 latest service pack (13.1.20131.2142).
Hi redbyron,
I'm working on reproducing this issue in a sample and I'd like to know what the DLL version is for the Infragistics assemblies being used in your project.