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

change default filter

8 Answers 122 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Tina
Top achievements
Rank 1
Tina asked on 16 Feb 2012, 01:49 PM
I have enabled AllowFilteringBycolumn.How to change the default fiilter options which are shown

8 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 16 Feb 2012, 01:57 PM
Hello,

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

-Shinu.
0
Accepted
Marin
Telerik team
answered on 17 Feb 2012, 10:20 AM
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 >>
0
Tina
Top achievements
Rank 1
answered on 21 Feb 2012, 08:10 AM
Thanks telerik.

How can I make users enter only 3 characters when filtering.Setting maxlength property in aspx is not working.
0
Accepted
Shinu
Top achievements
Rank 2
answered on 21 Feb 2012, 08:26 AM
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.
0
Tina
Top achievements
Rank 1
answered on 22 Feb 2012, 01:31 PM
How to change the filter tool tip shown in the filter button?Thanks.
0
Princy
Top achievements
Rank 2
answered on 22 Feb 2012, 01:47 PM
Hello,

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

Thanks,
Princy.
0
Tina
Top achievements
Rank 1
answered on 24 Feb 2012, 06:12 AM
How to persist the settings when filtering (on postback).
0
Princy
Top achievements
Rank 2
answered on 24 Feb 2012, 06:32 AM
Hello,

Check the following demo.
Grid / Persisting Grid Settings

Thanks,
Princy.
Tags
Filter
Asked by
Tina
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Marin
Telerik team
Tina
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or