Show all items in Filter Menu

2 posts, 0 answers
  1. L. M. Pathan
    L. M. Pathan avatar
    20 posts
    Member since:
    Dec 2009

    Posted 27 Nov 2011 Link to this post

    Dear Telerik Team,

    I am using Rad Grid and have following columns in my Grid.

    <Columns>
                <telerik:GridClientSelectColumn UniqueName="CheckboxSelectColumn" ItemStyle-HorizontalAlign="Left">
                    <HeaderStyle Width="25px" />
                    <ItemStyle HorizontalAlign="Center" />
                </telerik:GridClientSelectColumn>
                <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
                    <HeaderStyle Width="30px" />
                    <ItemStyle HorizontalAlign="Center" />
                </telerik:GridEditCommandColumn>
                <telerik:GridCheckBoxColumn DataField="ysnPrimaryAddress" ConvertEmptyStringToNull="true"
                    DefaultInsertValue="false" HeaderText="Primary" SortExpression="ysnPrimaryAddress"
                    UniqueName="ysnPrimaryAddress" HeaderTooltip="Primary" Visible="false">
                    <HeaderStyle Width="50px" />
                    <ItemStyle HorizontalAlign="Center" />
                </telerik:GridCheckBoxColumn>
                <telerik:GridBoundColumn DataField="strPrimaryAddress" HeaderText="Primary" SortExpression="strPrimaryAddress"
                    UniqueName="strPrimaryAddress" HeaderTooltip="Primary" CurrentFilterFunction="Contains">
                    <HeaderStyle Width="90px" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="strAddressType" HeaderText="Address Type" SortExpression="strAddressType"
                    UniqueName="strAddressType" HeaderTooltip="Address Type" CurrentFilterFunction="Contains">
                    <HeaderStyle Width="90px" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="strAddress1" HeaderText="Address 1" SortExpression="strAddress1"
                    UniqueName="strAddress1" HeaderTooltip="Address 1" CurrentFilterFunction="Contains">
                    <HeaderStyle Width="125px" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="strAddress2" HeaderText="Address 2" SortExpression="strAddress2"
                    UniqueName="strAddress2" HeaderTooltip="Address 2" CurrentFilterFunction="Contains">
                    <HeaderStyle Width="125px" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="strStreet" HeaderText="Street" SortExpression="strStreet"
                    UniqueName="strStreet" HeaderTooltip="Street" CurrentFilterFunction="Contains">
                    <HeaderStyle Width="125px" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="strCity" HeaderText="City" SortExpression="strCity"
                    UniqueName="strCity" HeaderTooltip="City" CurrentFilterFunction="Contains">
                    <HeaderStyle Width="90px" />
                </telerik:GridBoundColumn>
            </Columns>

    I really don't understand why Filter Menu doesn't show all items. Specially items like Contains, Starts With ,Ends With, Is Empty doesn't appear. Please advise. Thank you in advance for any assistance.

    Regards

    Pathan L.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 28 Nov 2011 Link to this post

    Hello,

    Items in filter menu is showing based on datatype of the column in database.

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top