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

RadGrid FilterMenu contains some empty items

2 Answers 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Zach
Top achievements
Rank 1
Zach asked on 20 Sep 2016, 07:49 PM

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 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 23 Sep 2016, 03:00 PM
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.
0
Saqeb
Top achievements
Rank 1
answered on 04 Jul 2017, 10:49 AM
Respected Community,

I am facing a strange problem in RadGrid default filter menu. When I select Glow theme, all is well but whenever I change theme my filter menu becomes two line or out of alignment (attached). Plz, help. This behavior is with auto render mode, with lightweight rendering it is all ok, but, unfortunately, i want to use classic rendering.

Saqeb
Tags
Grid
Asked by
Zach
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Saqeb
Top achievements
Rank 1
Share this question
or