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

enter text in filter textbox

1 Answer 43 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Tina
Top achievements
Rank 1
Tina asked on 15 Dec 2011, 02:25 AM
I want to show a "Search" keyword when filtering with radgrid.Hows that possible?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 15 Dec 2011, 04:51 AM
Hello Tina,

Try the following code.
C#:
protected  void RadGrid1_PreRender(object sender, EventArgs e)
{
  GridFilteringItem fitem=(GridFilteringItem)RadGrid1.MasterTableView.GetItems(GridItemType.FilteringItem)[0];
  TextBox text = fitem["UniqueName"].Controls[0] as TextBox;
   text.Text = "Search";
}

-Shinu.
Tags
Filter
Asked by
Tina
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or