RadGrid FilterMenu contains some empty items

2 posts, 0 answers
  1. Zach
    Zach avatar
    11 posts
    Member since:
    Jul 2014

    Posted 20 Sep Link to this post

    I'm seeing an odd formatting issue with the FilterMenu, in IE only (see screenshot). I tried disabling the skin, but it made no difference. I'm running telerik version 2016.2.607.45.

    Has anyone else seen this before?  How can I get rid of the extra space?

    Here's the markup of the grid: 

    <telerik:RadGrid ID="grid1" runat="server" AutoGenerateColumns="false" ShowStatusBar="true" AllowPaging="true" PageSize="100"
                OnNeedDataSource="grid1_NeedDataSource" OnDataBound="grid1_DataBound"
                Skin="Glow"
                AllowSorting="true" AllowFilteringByColumn="true">
                <PagerStyle EnableAllOptionInPagerComboBox="true" AlwaysVisible="true" />
                <GroupingSettings CaseSensitive="false" />
                <MasterTableView DataKeyNames="LabID, TimeRequested, RerunInProgress, TestPackageName, BoxName, CellNumber, ReceivedDate, IRPosition, LubricantType"
                    CommandItemDisplay="None">               
                    <SortExpressions>
                        <telerik:GridSortExpression FieldName="TimeRequested" SortOrder="Descending" />
                    </SortExpressions>
                    <Columns>
                        <telerik:GridTemplateColumn HeaderText="In Progress" DataType="System.Boolean" DataField="RerunInProgress">
                            <ItemTemplate>
                                <asp:CheckBox ID="chkInProgress" runat="server" AutoPostBack="true" OnCheckedChanged="chkInProgress_CheckedChanged"
                                    Checked='<%# DataBinder.Eval(Container.DataItem, "RerunInProgress") %>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridBoundColumn UniqueName="LabID" DataField="LabID" HeaderText="Lab ID" ItemStyle-Font-Size="Large" />
                        <telerik:GridBoundColumn UniqueName="TestPackage" DataField="TestPackageName" HeaderText="Test" ItemStyle-Font-Size="Large" />
                        <telerik:GridBoundColumn UniqueName="BoxName" DataField="BoxName" HeaderText="Box" ItemStyle-Font-Size="Large" />
                        <telerik:GridBoundColumn UniqueName="CellNumber" DataField="CellNumber" HeaderText="Cell" ItemStyle-Font-Size="Large" />
                        <telerik:GridDateTimeColumn UniqueName="TimeRequested" DataField="TimeRequested" HeaderText="Rerun requested time" DataFormatString="{0:g}" EnableTimeIndependentFiltering="true" />
                        <telerik:GridDateTimeColumn UniqueName="ReceivedDate" DataField="ReceivedDate" HeaderText="Received Date" DataFormatString="{0:g}" EnableTimeIndependentFiltering="true" />
                        <telerik:GridBoundColumn UniqueName="LubricantType" DataField="LubricantType" HeaderText="Lubricant Type" />
                        <telerik:GridBoundColumn UniqueName="IRPosition" DataField="IRPosition" HeaderText="IR Position" />
                        <telerik:GridBoundColumn UniqueName="Requester" DataField="Requester" HeaderText="Requester" />
                        <telerik:GridBoundColumn UniqueName="Reason" DataField="Reason" HeaderText="Reason" />
                        <telerik:GridBoundColumn UniqueName="Comment" DataField="Comment" HeaderText="Comment" />
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>

     

     

     

  2. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 23 Sep Link to this post

    Hi Zach,

    Do you reduce the filtering options using some similar logic to this?
    http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/how-to/Filtering/reduce-the-filter-menu-options

    Instead of removing the RadMenuItems, you can try setting their Visible property to false or set Style["display"]="none".

    Also, ensure that the RenderMode of all RadGrids and RadMenu controls on the page is the same.

    I hope this will prove helpful.


    Regards,
    Eyup
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top