Unplanned
Last Updated: 19 Jun 2017 10:45 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 04 Apr 2017 12:05
Category: GridView
Type: Bug Report
1
FIX. RadGridView - screentip remains visible although the grid is not focused anymore
To reproduce: please refer to the attached sample project and follow the described steps in the .doc file located in the zip. 

Workaround:

        protected override void OnActivated(EventArgs e)
        {
            base.OnActivated(e);
            this.ActiveControl = this.gvDetails;
        }

       private void gvDetails_LostFocus(object sender, EventArgs e)
        { 
            ((ComponentBehavior)gvDetails.Behavior).GetType().GetProperties(BindingFlags.NonPublic | BindingFlags.Instance);
            PropertyInfo barProperty = ((ComponentBehavior)gvDetails.Behavior).GetType().GetProperty("ScreenPresenter", 
                BindingFlags.NonPublic | BindingFlags.Instance);
            Form screenTip = barProperty.GetValue(((ComponentBehavior)gvDetails.Behavior), null) as Form;
                    
            screenTip.Hide();
        }
Attached Files:
0 comments