Completed
Last Updated: 04 Jun 2015 13:38 by ADMIN
ADMIN
Dimitar
Created on: 03 Feb 2015 09:30
Category: GridView
Type: Bug Report
0
FIX. RadGridView - setting SearchBoxWidth property does not change the text box width.
To reproduce:
private void Form1_Load(object sender, EventArgs e)
{
    GridSearchRowElement searchRow = null;
    foreach (GridRowElement row in this.radGridView1.TableElement.VisualRows)
    {
        if (row is GridSearchRowElement)
        {
            searchRow = row as GridSearchRowElement;
            break;
        }
    }
    if (searchRow != null)
    {

        searchRow.SearchCellElement.SearchBoxWidth = 400;
    }
}

Workaround:
radGridView1.TableElement.InvalidateMeasure(true);           
radGridView1.TableElement.UpdateLayout();
 
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments