change default filter

9 posts, 3 answers
  1. Tina
    Tina avatar
    130 posts
    Member since:
    Jul 2011

    Posted 16 Feb 2012 Link to this post

    I have enabled AllowFilteringBycolumn.How to change the default fiilter options which are shown
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 16 Feb 2012 Link to this post

    Hello,

    Take a look at the following help documentation.
    Localizing Filtering Menu Options

    -Shinu.
  3. Answer
    Marin
    Admin
    Marin avatar
    1057 posts

    Posted 17 Feb 2012 Link to this post

    Hello,

     Additional information can also be found in these links:
    http://www.telerik.com/help/aspnet-ajax/grid-custom-option-for-filtering.html 
    http://www.telerik.com/help/aspnet-ajax/grid-reducing-filtermenu-options.html 

    Regards,
    Marin
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  4. Tina
    Tina avatar
    130 posts
    Member since:
    Jul 2011

    Posted 21 Feb 2012 Link to this post

    Thanks telerik.

    How can I make users enter only 3 characters when filtering.Setting maxlength property in aspx is not working.
  5. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 21 Feb 2012 Link to this post

    Hello,

    Try the following code.
    C#:
    protected void grid_PreRender(object sender, EventArgs e)
    {
     GridFilteringItem item = (GridFilteringItem)grid.MasterTableView.GetItems(GridItemType.FilteringItem)[0];
     TextBox txt = (TextBox)item["UniqueName"].Controls[0];
     txt.MaxLength = 3;
    }

    -Shinu.
  6. Tina
    Tina avatar
    130 posts
    Member since:
    Jul 2011

    Posted 22 Feb 2012 Link to this post

    How to change the filter tool tip shown in the filter button?Thanks.
  7. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 22 Feb 2012 Link to this post

    Hello,

    Try setting FilterImageToolTip as shown below.
    aspx:
    <telerik:GridBoundColumn UniqueName="ShipName" DataField="ShipName" HeaderText="ShipName" FilterImageToolTip="your text"></telerik:GridBoundColumn>

    Thanks,
    Princy.
  8. Tina
    Tina avatar
    130 posts
    Member since:
    Jul 2011

    Posted 24 Feb 2012 Link to this post

    How to persist the settings when filtering (on postback).
  9. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 24 Feb 2012 Link to this post

    Hello,

    Check the following demo.
    Grid / Persisting Grid Settings

    Thanks,
    Princy.
Back to Top