Hello
I'm adding tabItems to a TabControleExt in the code behind of the MainWindow UserControle. Using the following code:
TabItemExt tabItem = new TabItemExt()
{
Content = _pillarControl,
Header = _pillarControl.getPillarModel.Name,
};
TabControleMain.Items.Add(tabItem);
This creates the new TabItem the way I want it but for some reason then I Right Click or Left Click in the content View of any of the other tabs the TabControle changes the Currently selected tab to the Last tab I added.
When I remove the last tab this stops happening. I suspect there is some property that flags the last added Tab as a default tab or something and as soon as I click in the content view of any of the other tabs the currently selected tab gets set to the tab with that flag.
Hello
I managed to recreate the scenario in the attached example. I know this implantation in quite unorthodox and if I could do it differently from the start I would. I now see a TabControle is not he right control to use here but if a work around could be found it would be great.
Basically I want a singleton instance of the UserControle as it stays the same in each tabItem it is only the data model that changes from tabItem to TabItem. The reason I don't want to use multiple instances of the UserControle each with its own dataModel is because the UserControle uses up to much memory so if there is a workaround for that it would also be fine.
Hi Gerrit,
We can also be able to reproduce the reported query. But currently, we are
analyzing your reported query on “Right-Click on the content selected tab to the last
tab”. We will validate and update you with the details on or before 01st
April 2022.
Regards,
Sudharsan
Hi Gerrit,
We have confirmed the reported scenario is a defect and logged a report for the reported scenario “Right click on the content area it select last tab when assigning the singleton instance to content in TabItem”. We will provide the patch for the reported issue on 22nd April 2022(due date).
You can track the status of this defect using the following feedback link:
If you have any more specification replication procedures or a scenario to be tested, you can add it as a comment in the portal.
Please let us know if you need any further assistance.
Regards,
Gokul T.
Hello
Is this bug report still open? I don't have a access to the bug tracker? And the problem was still not fixed in the newest update.
Regards
Hi Gerrit,
Yes, the bug report is still open. We have provided access to the feedback link to your credentials. So, please try by clearing the cache and using an incognito window.
As we promised we will provide the fix for the issue in the patch version on April 22, 2022. We appreciate your patience until then.
Regards,
Gokul T.
Hi Gerrit,
We have fixed the reported issue “Right click on the content area it selects last tab when assigning the singleton instance to content in TabItem" from our end.
This patch can be downloaded from the links below.
|
Recommended approach - exe will perform automatic configuration. Please find the patch setup from the location below: Patch link: Please find the patch assemblies alone from the location below: Assemblies Link: NuGet link: |
Assembly Version: 20.1.0.47
Installation Directions:
This patch should replace the files " Syncfusio.Tools.WPF” under the following folder.
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\[TargetFramework]
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\20.1.0.47\precompiledassemblies\20.1.0.47\ 4.6
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you must manually copy and paste them to the preferred location, or you must run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.
https://www.syncfusion.com/support/directtrac/patches
Disclaimer:
Please note that we have created this patch for version 20.1.0.47 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received. Please let us know, if you are using any other Syncfusion version, we will provide patch in your version. This fix will be included in our upcoming Volume 1, SP release which will be available at the mid of May 2022.
Please let us know if you need any further assistance on this. We will be glad to assist you.
Regards,
Gokul T
Hello
The bug of right clicking is fixed but left clicking in the content view still changes the selected tab to the last one
Hi Gerrit,
Syncfusion TabControlExt is inherited from the MS tabcontrol. As last tab selection when left click on the content area issue occurs in MS tabcontrol, this issue is occured in syncfusion TabControlExt also.
Regards,
Gokul T