Cant unload TreeMenuItems
Hello.
In my software I have a menu and a submenu. I fill in as follows:
For Each dr As DataRow In ds.Tables("VERPRO_NEWSLETTERS_CAT").Rows
Dim x As New Syncfusion.Windows.Forms.Tools.TreeMenuItem
x.Text = dr.Item("Descricao").ToString
x.Font = Fonte
x.SelectedColor = Color.FromArgb(0, 169, 172)
x.SelectedItemForeColor = Color.White
TreeNavigator1.Items.Add(x)
dsRow.Clear()
Dim da As New OleDbDataAdapter("Select * FROM VERPRO_NEWSLETTERS where fam like'" & dr.Item(1).ToString & "'", cnAdoNetConexao)
da.Fill(dsRow, "VERPRO_NEWSLETTERS")
For Each dr2 As DataRow In dsRow.Tables("VERPRO_NEWSLETTERS").Rows
Dim x2 As New Syncfusion.Windows.Forms.Tools.TreeMenuItem
x2.Text = dr2.Item(3).ToString
x2.Font = Fonte2
x2.SelectedColor = Color.FromArgb(0, 169, 172)
x2.SelectedItemForeColor = Color.White
x.Items.Add(x2)
Next
When the user clicks on a button, it loads again with other items.
My problem is when the user is in the submenu, it doesn't go back to the beginning. It gets stuck the "x2" TreeMenuItem filled.
Best Regards,
SIGN IN To post a reply.
5 Replies
GS
Gokul Sainarayanan
Syncfusion Team
December 3, 2019 12:52 PM UTC
Hi Tiago,
Thank you for contacting Syncfusion support.
We have checked your reported query in TreeNavigator. Based on the provided information, we have added the items in TreeNavigator and also added item at run time through a button but we were unable to reproduce the issue as the we could navigate back and forth in the TreeNavigator. We have attached the sample below with which we tried to reproduce the issue. Can you please check and let us know whether we have missed any settings or have we misunderstood your query as it will help us to further proceed with this.
Sample: https://www.syncfusion.com/downloads/support/forum/149596/ze/TreeNavigator232924169
Regards,
Gokul S
Thank you for contacting Syncfusion support.
We have checked your reported query in TreeNavigator. Based on the provided information, we have added the items in TreeNavigator and also added item at run time through a button but we were unable to reproduce the issue as the we could navigate back and forth in the TreeNavigator. We have attached the sample below with which we tried to reproduce the issue. Can you please check and let us know whether we have missed any settings or have we misunderstood your query as it will help us to further proceed with this.
Sample: https://www.syncfusion.com/downloads/support/forum/149596/ze/TreeNavigator232924169
Regards,
Gokul S
TI
Tiago
December 3, 2019 06:22 PM UTC
Hi Gokul,
Attachment: TreeNavigator232924169REV_a682dd9.zip
First of all thanks for your help.
I send your example with my problem.
You can notice my problem in the following order:
Click button2
Click ItemMenu1
Click button3
Notice that the childs remains, and wont reset the treenavigator.
Best Resgards,
Tiago Marques
Attachment: TreeNavigator232924169REV_a682dd9.zip
GS
Gokul Sainarayanan
Syncfusion Team
December 4, 2019 09:04 AM UTC
Hi Tiago,
Thanks for your update.
We were able to reproduce the reported issue and notice that the child items are not cleared properly and hence the option to navigate in the TreeNavigator is also disappeared. We have logged a bug report on this and it can be tracked through our feedback portal below.
Feedback Link: https://www.syncfusion.com/feedback/10567/child-items-are-not-properly-cleared-in-treenavigator-when-clear-the-items-in-run
We will fix the reported issue and will provide you a patch in version 17.3.0.14 by December 20, 2019. Incase if you are using a different version, then please let us know so that we will be able to provide the patch in that version.
Regards,
Gokul S
Thanks for your update.
We were able to reproduce the reported issue and notice that the child items are not cleared properly and hence the option to navigate in the TreeNavigator is also disappeared. We have logged a bug report on this and it can be tracked through our feedback portal below.
Feedback Link: https://www.syncfusion.com/feedback/10567/child-items-are-not-properly-cleared-in-treenavigator-when-clear-the-items-in-run
We will fix the reported issue and will provide you a patch in version 17.3.0.14 by December 20, 2019. Incase if you are using a different version, then please let us know so that we will be able to provide the patch in that version.
Regards,
Gokul S
GS
Gokul Sainarayanan
Syncfusion Team
December 20, 2019 01:40 PM UTC
Hi Tiago,
The issue with "Child items are not properly cleared in TreeNavigator when clear the items in run time" has been fixed and the patch for this fix can be downloaded from the following location.
Recommended approach - exe will perform automatic configuration
Please find the patch setup from below location:
http://syncfusion.com/Installs/support/patch/17.3.0.14/776314/F149596/SyncfusionPatch_17.3.0.14_776314_12202019062603671_F149596.exe
Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment
Please find the patch assemblies alone from below location:
Assemblies link: http://syncfusion.com/Installs/support/patch/17.3.0.14/776314/F149596/SyncfusionPatch_17.3.0.14_776314_12202019062603671_F149596.zip
Nuget link: http://syncfusion.com/Installs/support/patch/17.3.0.14/776314/F149596/SyncfusionNuget_17.3.0.14_776314_12202019062603671_F149596.zip
Assembly Version: 17.3.0.14
Installation Directions :
This patch should replace the files “Syncfusion.Tools.Windows” under the following folder.
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\4.6
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\17.3.0.14\precompiledassemblies\17.3.0.14\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 will have to manually copy and paste them to the preferred location or you will have to run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.
Note :
To change how you receive bug fixes, ask your license management portal admin to change your project’s patch delivery mode.
https://www.syncfusion.com/support/directtrac/patches
Disclaimer :
Please note that we have created this patch for version 17.3.0.14 specifically to resolve the following issue reported in the forum. 149596
If you have received other patches for the same version for other products, please apply all patches in the order received.
This fix will be included in our 2019 Volume 4 SP1 release which is expected in the mid of Feb 2020.
Regards,
Gokul S
The issue with "Child items are not properly cleared in TreeNavigator when clear the items in run time" has been fixed and the patch for this fix can be downloaded from the following location.
Recommended approach - exe will perform automatic configuration
Please find the patch setup from below location:
http://syncfusion.com/Installs/support/patch/17.3.0.14/776314/F149596/SyncfusionPatch_17.3.0.14_776314_12202019062603671_F149596.exe
Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment
Please find the patch assemblies alone from below location:
Assemblies link: http://syncfusion.com/Installs/support/patch/17.3.0.14/776314/F149596/SyncfusionPatch_17.3.0.14_776314_12202019062603671_F149596.zip
Nuget link: http://syncfusion.com/Installs/support/patch/17.3.0.14/776314/F149596/SyncfusionNuget_17.3.0.14_776314_12202019062603671_F149596.zip
Assembly Version: 17.3.0.14
Installation Directions :
This patch should replace the files “Syncfusion.Tools.Windows” under the following folder.
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\4.6
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\17.3.0.14\precompiledassemblies\17.3.0.14\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 will have to manually copy and paste them to the preferred location or you will have to run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.
Note :
To change how you receive bug fixes, ask your license management portal admin to change your project’s patch delivery mode.
https://www.syncfusion.com/support/directtrac/patches
Disclaimer :
Please note that we have created this patch for version 17.3.0.14 specifically to resolve the following issue reported in the forum. 149596
If you have received other patches for the same version for other products, please apply all patches in the order received.
This fix will be included in our 2019 Volume 4 SP1 release which is expected in the mid of Feb 2020.
Regards,
Gokul S
GS
Gokul Sainarayanan
Syncfusion Team
January 31, 2020 06:28 AM UTC
Hi Tiago,
We are glad to announce that our Essential Studio Volume 4 SP 1 2019 (v17.4.0.46) is rolled out and is available for download under the following link. In this release, we have included the fix for the reported issue "Child items are not properly cleared in TreeNavigator when clear the items in run time".
https://www.syncfusion.com/forums/151087/essential-studio-2019-volume-4-service-pack-release-v17-4-0-46-is-available-for-download
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Regards,
Gokul S
We are glad to announce that our Essential Studio Volume 4 SP 1 2019 (v17.4.0.46) is rolled out and is available for download under the following link. In this release, we have included the fix for the reported issue "Child items are not properly cleared in TreeNavigator when clear the items in run time".
https://www.syncfusion.com/forums/151087/essential-studio-2019-volume-4-service-pack-release-v17-4-0-46-is-available-for-download
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Regards,
Gokul S
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
-
TI Tiago
- Dec 2, 2019 07:26 PM UTC
- Jan 31, 2020 06:28 AM UTC