When tried to save and load toolbar positions by calling the methods savecomponentsetting and loadcomponentsetting, the toolbars positions are working fine.
But the commands in the toolbars are not working, when i opened again.
The thing is command state also getting saved. For example there is a merge option which is state button tool, while closing its state is true and saved. At the time of opening its state becomes true all the time. When i select some cells and try to merge its not working.
Please give some solution.
Hello Krishna,
Thank you for contacting Infragistics Support.
Please check the forum thread in the link bellow. There was discussed the same question as yours. http://www.infragistics.com/community/forums/p/93246/462508.aspx#462508
Please let me know if you need any further assistance.
I am just checking about the progress of this issue. Let me know if you need my further assistance on it.
Thank you for using Infragistics Components.
Hello Milko,
I checked your reply in my other post.
The thing is, I'm using StateToolBar Tool in my toolbar.
While i try to open the saved settings this are not working.
I tried to set the state but its not working.
Thank you Milko.
Regards,
krishna.
Hi Krishna,
Thank you for your reply.
When using the LoadComponentSettings method the toolbar will be loaded along with the state of the StateButtonTools in it. Do you have some functionality in your application that depends on the checked state of your tools and it is not working on loading the toolbar? If that is the case, can you please isolate this issue in a small sample and I will be glad to research the best way that this can be solved.
If you want to discard the Checked state of the StateButtonTools when loading them you can iterate over them and then set the check state of the checked tools to false. I have attached a small sample that demonstrates how to do this.
Let me know if you have any additional questions.
I am just checking about the progress of this issue. Let me know if you need my further assistance on this issue.