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

Central alignment of filter control

4 Answers 399 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Indranik
Top achievements
Rank 1
Indranik asked on 06 Dec 2008, 08:29 AM
How to align a filter control centrally?

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 08 Dec 2008, 04:14 AM
Hi,

You can set the HorizontalAlignment of the FilteringItem as shown below.

ASPX:
  <FilterItemStyle  HorizontalAlign="Center" /> 



Shinu.
0
jfkrueger
Top achievements
Rank 1
answered on 05 Mar 2009, 10:07 PM
This property no longer exists and I cannot get my filter textbox to be any larger or to be left-aligned. Any suggestions?
0
Yavor
Telerik team
answered on 06 Mar 2009, 07:11 AM
Hi Joe,

Attached to this message, is a small application, which handles the functionality in question.
I hope it helps.

Sincerely yours,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
stephane
Top achievements
Rank 1
answered on 29 Jul 2019, 01:04 PM

Use this

 

protected void RadGrid1_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e) 
    { 
        if (e.Item is GridFilteringItem) 
        { 
            GridFilteringItem item = e.Item as GridFilteringItem; 
            item["MyColumnUniqueName"].HorizontalAlign = HorizontalAlign.Right; 
        } 
    } 

Tags
Grid
Asked by
Indranik
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
jfkrueger
Top achievements
Rank 1
Yavor
Telerik team
stephane
Top achievements
Rank 1
Share this question
or