This is a migrated thread and some comments may be shown as answers.

filter font issue

1 Answer 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
iomega 55
Top achievements
Rank 1
iomega 55 asked on 05 Oct 2012, 06:33 AM
HOw can I increment the fontsize of the filter textbox?

I tried to use the filteritem font-size option but it doesnt work. I need to have a bigger font.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 05 Oct 2012, 06:51 AM
Hi,

Please try following code snippet to increase the font size of filter textbox.

C#:
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
    if (e.Item is GridFilteringItem)
    {
        GridFilteringItem fitem = (GridFilteringItem)e.Item;
        TextBox txt1 = (TextBox)fitem["UniqueName"].Controls[0];
        txt1.Font.Size = FontUnit.Point(10);
    }
}

Thanks,
Shinu.
Tags
Grid
Asked by
iomega 55
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or