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. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Marin
    Admin
    Marin avatar
    1045 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 >>
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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).
  10. 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
UI for ASP.NET Ajax is Ready for VS 2017