X - autohidetab question?

Hi,
I have 2 questions about autohidetab:
question 1. when I click the autohide tab then after form hide, the combobox shows up like that picture(There is ripple on it), how can i fix this! (whether I have to call me.refresh?)


question 2. How do I set up to make sure all panels are hidden after the form loads (they will be collected into the vertical bar)I tried autohideonload but after the form loaded, they started to be hidden (I want them to be completely hidden before the show form!
Thanks.

5 Replies

UN Unknown Syncfusion Team June 1, 2020 10:10 AM UTC

Hi Khanh, 

Thanks for contacting Syncfusion support. 

We have checked your queries “Need to know hide all panels as AutoHidden tabs before form is shown in DockingManager” and it can be achieved by using DockControlInAutoHideMode and SetAutoHideOnLoad methods to set the controls in DockingManager to AutoHide mode as shown in below code snippet in Form constructor before the form visual starts to load. And the SfComboBox rendering issue can be resolved by refreshing the AutoHide tab control or the SfComboBox controls in AutoHide tab control on AutoHideAnimationStop event and it has also been logged as defect. The fix the reported issue will be included in Volume 2 release which will roll out by end of June, 2020. Please refer the below feedback for same. 


C#: 
public Form1() 
       
            InitializeComponent(); 
            dockingManager1.AutoHideAnimationStop += DockingManager1_AutoHideAnimationStop; 
            foreach (Panel items in dockingManager1.ControlsArray) 
           
                if (dockingManager1.GetAutoHideMode(items) == false && dockingManager1.GetAutoHideOnLoad(items) == false) 
                {  
                    dockingManager1.SetAutoHideOnLoad(items, true); 
                    dockingManager1.DockControlInAutoHideMode(items, DockingStyle.Left, 200); 
               

           
       

Regards, 
Niranjan Kumar Gopalan 
 



TG The GridLock June 1, 2020 06:06 PM UTC

Hi Niranjan,
It's still the same maybe because I have a lot of controls, it retrieves to doctab more slowly so I can see them. I will review this.


UN Unknown Syncfusion Team June 2, 2020 11:55 AM UTC

Hi Khanh, 

Thanks for your update. 

We have checked the provided solution for moving the panels to AutoHide mode before the form is loaded i.e. instead of form is shown first and then panels are moved to AutoHide mode and it works as expected. Please refer the below video for same. We will wait to hear from you. 


Regards, 
Niranjan Kumar Gopalan 



TG The GridLock June 4, 2020 11:08 AM UTC

Hi Niranjan,
I will try your sample as soon as possible.


UN Unknown Syncfusion Team June 4, 2020 11:20 AM UTC

Hi Khanh, 

Thanks for your update. 

Please refer the video and code snippet shared in our previous updates and we will wait to hear from you. 

Regards, 
Niranjan Kumar Gopalan 


Loader.
Up arrow icon