Current filter:
                                You should refresh the page.
                                0
                                  • The Header filter popup is shown in a wrong position if the gridview has the ShowVerticalScrollBar Property set to True

                                    Steps to Reproduce:

                                    ASPX CODE

                                    <head id="Head1" runat="server">

                                    </head>

                                    <body>

                                    <div id="container">

                                        <form id="form1" runat="server">

                                             <dxwgv:ASPxGridView ID="xGrid1" runat="server">

                                            </dxwgv:ASPxGridView>

                                        </form>

                                    </div>

                                    </body>

                                    </html>

                                    VB.NET CODE

                                        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

                                            ' add test columns to grid

                                            If (Not IsPostBack AndAlso Not IsCallback) Then

                                                Dim gridCol1, gridCol2 As New DevExpress.Web.ASPxGridView.GridViewDataColumn

                                                xGrid1.Columns.Clear()

                                                gridCol1.FieldName = "EventNo"

                                                gridCol1.Caption = "My Number"

                                                xGrid1.Columns.Add(gridCol1)

                                                gridCol2.FieldName = "EventPriority"

                                                gridCol2.Caption = "My Priority"

                                                xGrid1.Columns.Add(gridCol2)

                                            End If

                                            ' add data data columns

                                            ' Data Table for xGrid1

                                            Dim oleDA As New OleDbDataAdapter("SELECT EventNo, EventPriority FROM Event", mtDB.Get_Conn_String)

                                            Dim objDT As New Data.DataTable

                                            oleDA.Fill(objDT)

                                            xGrid1.DataSource = objDT

                                            xGrid1.Settings.ShowHeaderFilterButton = True

                                            If (Not IsPostBack AndAlso Not IsCallback) Then

                                                xGrid1.AutoGenerateColumns = False

                                                xGrid1.Settings.ShowVerticalScrollBar = True ' This causes ShowHeaderFilterButton to popup in wrong spot

                                            End If

                                            xGrid1.DataBind()

                                        End Sub

                                    Actual Results:

                                    popup filter shows up at the top of the page (see attach screenshot)

                                    Expected Results:

                                    popup filter to display normally

                                headerfilter.jpg
                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.