Problem with DockingManager - Replace content of the docking panels

Hi,


First thank you for your great help with other controls and your quick answers.

I have new problem.

  1. I am using vb.net
  2. I formed main screen (called "Glavni meni")
  3. I added Docking manager with panels. Everything works fine
  4. Every panel has TreeNavigator with TreeMenuItems.
  5. I add Tags to TreeMenuItems and I know how to read what item is clicked
  6. In last panel (called again "Glavnimeni") I added also TreeNavigator with TreeMenuItems but these items should replace existing panels with new ones (number of panels and TreeMenuItems are different and all are with different TreeMenuItems text)
  7. I found your solution for that (shown in the video) but program shows two problems
    1. Control .Dispose() doesn't work (force program to breakdown)
    2. When I remove .Dispose() program does replacement but one panel stays on the screen away form Docking manager (shown in the picture and video)
  8.  Please can you hepl me to resolve problem
Thank you
Sabian

Attachment: EM_2023_1_f014dc3c.zip

7 Replies 1 reply marked as answer

SS Sabian Sirius October 2, 2023 04:34 PM UTC

Hi again,


Just adding pictures and video


Thank you


Attachment: Pictures_and_videos_of_the_problem_ec8ef74a.zip


BA BagavathiPerumal Apranandham Syncfusion Team October 5, 2023 01:14 PM UTC

Hi Sabian Sirius,



We are unable to run your sample from our end due to SQL Server database configuration issues. Please refer to the attached video and image for your reference. Could you please share a working sample to help us reproduce and address the issue.



Regards,
Bagavathi Perumal A


Attachment: DockingManagerSQLSeverIssue_7145e555.zip


SS Sabian Sirius October 6, 2023 06:45 AM UTC

Hi,  Bagavathi Perumal A


Thank you for reply. 

I am sending you Excel file with data of the table name Menu. Maybe you can recreated base. In DB BasicDB.mdf there is a table named Meni1 but it is not important for my question. It is related to form named Stablo.

I gave you also User name, Password and Server name. My Server name is Elitebook and maybe that is the reason why connection could not be established.

I hope this will help you to start application.


Regards,

Sabian


Attachment: Data_and_connection_20aea903.zip


BA BagavathiPerumal Apranandham Syncfusion Team October 10, 2023 01:08 PM UTC

Hi Sabian Sirius,


We are still configuring the database environment. We will configure and update the details on or before October 12, 2023. We appreciate your patience until then.



Regards,
Bagavathi Perumal A



BA BagavathiPerumal Apranandham Syncfusion Team October 12, 2023 12:43 PM UTC

Hi Sabian Sirius,



Query1: Control .Dispose() doesn't work (force program to breakdown)


Are you describing 'Force program to breakdown' as a crash. We did not encounter any crashes while running your sample with control.Dispose(). Please refer to the attached video for your reference. If it is not a crash, please share the video to demonstrate which you are referring as "force program to breakdown".




Query2: When I remove .Dispose() program does replacement, but one panel stays on the screen away from Docking manager.



We are able to reproduce the reported scenario from our end. Currently, we are validating the reported scenario with our source. We will check and update you on or before 16th October 2023.



Regards,

Bagavathi Perumal A


Attachment: DockingMangerWF_11e597be.zip

Marked as answer

SS Sabian Sirius October 12, 2023 06:41 PM UTC

Hi  BagavathiPerumal Apranandham


Thank you for your time and effort to answer this question.

I analyze your video and some other examples for this question and corrected my code. Now everything works fine. Even  .Dispose() does not cause break of the program. I think that lack of .Dispose() caused panel to stay on the form.


thank you once again

Best wishes

Sabi



BA BagavathiPerumal Apranandham Syncfusion Team October 13, 2023 04:15 AM UTC

Hi Sabian Sirius,


We hope that your issue is resolved. Please let us know if you need any other assistance. We are happy to assist you.



Regards,
Bagvathi Perumal A


Loader.
Up arrow icon