enter text in filter textbox

2 posts, 0 answers
  1. Tina
    Tina avatar
    130 posts
    Member since:
    Jul 2011

    Posted 14 Dec 2011 Link to this post

    I want to show a "Search" keyword when filtering with radgrid.Hows that possible?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 14 Dec 2011 Link to this post

    Hello Tina,

    Try the following code.
    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";

  3. DevCraft R3 2016 release webinar banner
Back to Top