Bug Report T282088
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

Why might paging (sorting, grouping, filtering) not work in the ASPxGridView?

ASPxGridView - CheckAll check box state is changed after grouping data

created 10 years ago (modified 10 years ago)

Hi,
we have problem with CheckAll checkbox. It has strange behavior in version 15.1.6 .

  1. CheckAll checkbox state is changed after grouping ( example project is included)

http://screencast.com/t/AtYXhuQkd

  1. Uncheck of CheckAll checbox clear grouping ( without deep investigation)

http://screencast.com/t/D17l4Py2

Thank you for support

Comments (1)

    Fixed attachment

    Answers approved by DevExpress Support

    created 10 years ago (modified 10 years ago)

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      created 10 years ago

      Hello,

      I suggest that you bind the grid to data by using the approach from the "UPDATED" section of the K18183: Why might paging (sorting, grouping, filtering) not work in the ASPxGridView? KB article. See the code below:

      C#
      protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) ASPxGridView1.DataBind(); } protected void ASPxGridView1_DataBinding(object sender, EventArgs e) { ASPxGridView1.DataSource = TimesheetItem.GetData(); }

      Try this approach and let me know if the issue persists.

        Comments (2)

          Hi Sergi,
          i made deep investigation of our problem. Sorry for first demo, it was prepared very quickly.

          1. We don't use dynamic binding of grid (We use auto binding through SqlDataSource)
          2. I use ObjectDataSource as a substitute in my second demo (It has a similar behavior)
            Problem occurs when is EnableRowsCache set to false.
            We have lot of code written with this prerequisite and it's almost impossible to change behavior in our side.
            Thank you for your support
            http://screencast.com/t/Zy2hJBZrZVwc

            Hello David,

            Thank you for sending the updated project. I see the problem. I will forward this issue to our R&D team. Our developers will continue working on this problem, and we will keep you informed of any progress.

            Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

            Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.