Completed
Last Updated: 05 Nov 2014 13:43 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 24 Oct 2014 11:28
Category: GridView
Type: Bug Report
0
FIX. RadGridView - GridBrowseEditor has incorect height in Windows7 theme
Workaround:

private void radGridView1_CellEditorInitialized(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
{
    GridBrowseEditor browseEditor = e.ActiveEditor as GridBrowseEditor;
    if (browseEditor!=null)
    {
        browseEditor.EditorElement.MinSize = new Size(0,18);
        GridBrowseEditorElement el = browseEditor.EditorElement as GridBrowseEditorElement;
        el.TextBoxItem.TextBoxControl.MinimumSize  = new Size(0, 13);
    }
}
Attached Files:
0 comments