Sizing filter controls based on column

2 posts, 0 answers
  1. Elfman
    Elfman avatar
    12 posts
    Member since:
    Feb 2007

    Posted 15 Aug 2008 Link to this post

    Is there any way to automatically size the Filter row controls based on the column that they are in?

    Also, is it possible to have fixed width columns?

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 17 Aug 2008 Link to this post


    Go through the following help article which explains how to set the width of filter textbox.
    Setting filter textbox dimensions/changing default filter image

     You can set the desired width to a Grid column in the aspx as shown below.

    <telerik:GridBoundColumn DataField="FirstName" HeaderText="FirstName" SortExpression="FirstName" 
                            <HeaderStyle  Width="50px"/> 
                             <ItemStyle  Width="50px" /> 

Back to Top