While Docking App is Crashing

Hello,

We are using Docking Manager in our application But So many critical issues is happening.

For customizing Dockheader for our requirement to add button and views in header. 

After Customizations three issues came,
1. Can not change position of view once it is docked.

2. If we dock a new floating view then when changing position for first time some dummy view comes (shown in video time:12 sec) 

3. when adding a new dock view library crashes at random points (shown in video time: 39 sec)

I am attaching a sample demo for your reference below.

Video Link:   https://f.flockusercontent2.com/410e72b152126635657173bf

Thanks in Advance
Harshul


Attachment: DockingManagerDemo_(2)_9dc1b1fd.zip

3 Replies

MS Marimuthu Sivalingam Syncfusion Team March 19, 2018 12:10 PM UTC

Hi Brijesh, 
  
Thank you for contacting Syncfusion Support.  
 
In our DockingManager we have handle the drag and drop operation of Float Window based on the DockHeaderPresenter. In your sample you have collapsed the DockHeaderPresenter, So DockingManager unaware of Dock state changes. So that the reported issue occurs in your side. You can customize the Header style of DockingManager by DockHeaderStyle with DockHeaderPresenter as modified in the attached sample. In this sample we have added one more button “D” in Dock Header. If you want to customize the header, please add your custom buttons in modified DockHeaderPresenter template. Also, please find the sample from below. 
 
  
Regards, 
Marimuthu S. 



BR Brijesh replied to Marimuthu Sivalingam March 21, 2018 06:37 AM UTC

Hi Brijesh, 
  
Thank you for contacting Syncfusion Support.  
 
In our DockingManager we have handle the drag and drop operation of Float Window based on the DockHeaderPresenter. In your sample you have collapsed the DockHeaderPresenter, So DockingManager unaware of Dock state changes. So that the reported issue occurs in your side. You can customize the Header style of DockingManager by DockHeaderStyle with DockHeaderPresenter as modified in the attached sample. In this sample we have added one more button “D” in Dock Header. If you want to customize the header, please add your custom buttons in modified DockHeaderPresenter template. Also, please find the sample from below. 
 
  
Regards, 
Marimuthu S. 


Hello,

you send a sample with different header, to use that we need to customize it.
Attached image in zip will show you the required layout for header.
Don't bother about icons.

Thanks & Regards
Harshul

Attachment: DockingImage1_d3665546.zip


DR Durga Rajan Syncfusion Team March 22, 2018 12:16 PM UTC

Hi Harshul, 

Thanks for contacting Syncfusion support.  

We have checked your query and prepared sample based on the provided screenshot. Your requirement can be achieved by modifying the Template of DockHeader. In this we have bound the new modified template of DockHeader to the Template property of  DockHeaderPresenter through DockHeaderStyle property of Docking manager. In the modified template we have added Resize button and Search TextBox and handled the visibility of the buttons based on the value of new attached properties(“ResizeButtonvisibility” and “SearchBoxVisibility”). We have maintained the same modified template to all dock windows, based on that you can add or remove buttons from the HeaderTemplate and perform own functionalities for each icon in the header. Please download the sample for the same from below location, 


Note : Close, AutoHide and Menu Buttons are visible by default, these properties can be collapsed or you can remove the buttons and add own icons based on your requirement.  

If we have misunderstood  your query please provide more details about your requirement. This would help us to provide solution at earliest. 

Regards, 
Durga S.  


Loader.
Up arrow icon