Insert toolstripex to existing toolstriptabitem
Hi,
I am trying to add a ToolStripEx that coantins toolstripbuttons to an existing ToolStripTabItem. I tried using RibbonmergeContainer with the same name as a exisitng ToolStripTabItem. But it didnt work. Can you please help me.
Thank you,
Revathi
SIGN IN To post a reply.
7 Replies
SK
Senthil Kumaran Rajan
Syncfusion Team
August 14, 2018 06:30 AM UTC
Hi Revathi.
Thank you for Contacting Syncfusion Support
The reported requirement can be achieved by adding the RibbonPanelMergeContainer with the same name of the ToolStripTabItem of the RibbonControlAdv. We have prepared the sample for your reference and this can be downloaded from the below location. In our sample, we have ToolStripTabItem named View and in our new form we have added the ToolStripButtons to the ToolStripEx and added through a RibbonPanelMergeContainer. When the newly created Form is added to the RibbonForm, the ToolStripEx in the RibbonPanelMergeContiner will be merged with the ToolStripTabItem in RibbonForm.
Screenshot:
Screenshot shows the View ToolStripTabItem contains one ToolStripButton.
After clicking the New button in File tab, the CheckBox and ToolStripButton added to the View ToolStripTabItem in the newly added Form will be merged with the existing View tab in RibbonControlAdv. Please refer the below screenshot for further reference.
For more information about the RibbonPanelMergeContainer, please refer the following UG link:
Please try this solution and let us know if it helps.
Regards
Senthil
RD
Revathi Dhamotharan
August 14, 2018 08:15 PM UTC
Hi
i tried using the sample. I get error when i try to build, its not able to set ribbonstyle to office2016. I dont see that option in the list of ribbon styles. Also, i am trying to use TouchStyle. In TouchSTyle, it doesnt merge into the existing toolstriptabitem even if the name is same. Instead, it inserts a new one by the same name. Is there a way to add office2016 to the list of ribbonstyles. Also, does this type of merge into existing tab item work only for Office2016 and not for TouchStyle?
Thank you,
Revathi
KR
Kannan R
Syncfusion Team
August 15, 2018 10:13 AM UTC
Hi Revathi
Sorry for the inconvenience caused.
|
Query |
Comments | |
|
I get error when i try to build, it’s not able to set ribbonstyle to office2016. I don’t see that option in the list of ribbon styles.
Instead, it inserts a new one by the same name. Is there a way to add office2016 to the list of ribbonstyles |
Could you please confirm the Syncfusion Essential Studio version? Because it has been implemented recently, it may not be available in your version and Office2016Theme is available in version 16.2.0.41. | |
|
Does this type of merge into existing tab item work only for Office2016 and not for TouchStyle |
No, it is working in TouchStyle also. Please refer to this below details.
Code Snippet : [C#]
Screenshot
Before Merging
After Merging
As in above screenshot it is merged into View ToolStripTabItem and there is no difference in merging behavior based on the Name of ToolStripTabItem. Could you please check the sample and let us know if it helps?
Sample: ToolstripMerge
|
Note
We have prepared sample in Essential Studio version 16.2.0.41
Regards
Kannan
RD
Revathi Dhamotharan
August 15, 2018 02:28 PM UTC
Hi,
Thank you for your quick response. The version I am using is 13.1.0.21. I tried the sample you sent below, it created a tab 'View' instead of merging into the existing toolstriptabitem. Is this feature a part of a later version.
Thank you,
Revathi
KR
Kannan R
Syncfusion Team
August 16, 2018 09:40 AM UTC
Hi Revathi
Yes, we can confirm that reported problem exists in version 13.1.0.21. But it has been fixed from version 15.4.0.17. Could you please upgrade to version 15.4.0.17 and above to resolve this?
Regards
Kannan
RD
Revathi Dhamotharan
August 16, 2018 01:32 PM UTC
Hi,
thanks for confirming! is there any workaround to get this working by any chance with 13.1.0.21.
Thank you,
Revathi
SK
Senthil Kumaran Rajan
Syncfusion Team
August 17, 2018 07:24 AM UTC
Hi Revathi,
Thank you for your update.
As we have mentioned earlier, this enhancement is already implemented in version 15.4.0.17 and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.
Regards,
Senthil
SIGN IN To post a reply.
- 7 Replies
- 3 Participants
-
RD Revathi Dhamotharan
- Aug 13, 2018 03:14 PM UTC
- Aug 17, 2018 07:24 AM UTC