Unplanned
Last Updated: 17 Apr 2024 14:36 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 06 Apr 2018 09:27
Category: GridView
Type: Bug Report
2
FIX. RadGridView - editor is still visible after maximizing the form
To reproduce:

Please run the sample project and follow the steps from the gif file.

Workaround:

        private void radGridView1_SizeChanged(object sender, EventArgs e)
        {
            this.radGridView1.MasterTemplate.Refresh();
        }

        public class Grid : RadGridView
        {
            public override string ThemeClassName  
            { 
                get 
                { 
                    return typeof(RadGridView).FullName;  
                }
            }

            protected override void OnResize(EventArgs e)
            {
                object value = null;
                if (this.ActiveEditor != null)
                { 
                    value = this.ActiveEditor.Value;  
                }
                base.OnResize(e);
                if (value != null && this.CurrentCell != null)
                {
                    this.CurrentCell.Value = value;
                }
            }
        }
0 comments