unbound checkbox column selection scrolling problem

4 posts, 1 answers
  1. shortie
    shortie avatar
    23 posts
    Member since:
    Jul 2008

    Posted 11 Nov 2009 Link to this post

    Hello,

    We have a project using Q2 SP1. There is a grid with an unbound checkbox in one form. If the data is less than a page, the checkbox column works like a charm. If the data is more than a page, any selection of the checkbox column in the 2nd page and beyond will case the grid scrolls back to page 1. Is there any quick fix for this? Thanks in advance.

    BR/shortie
  2. Jack
    Admin
    Jack avatar
    2333 posts

    Posted 12 Nov 2009 Link to this post

    Hi ChunChang,

    Yes, I confirm that this issue appears in Q2 SP1. It is addressed in Q3 2009 (see the Release Notes for more information). I recommend that you try our new release. It addresses many issues and we will be glad to receive your feedback.
     

    All the best,
    Jack
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. shortie
    shortie avatar
    23 posts
    Member since:
    Jul 2008

    Posted 12 Nov 2009 Link to this post

    Dear Jack,

    Thanks for your information. I confirmed that it had been fixed in Q3. But this project won't be transfered to Q3 shortly, is there any other work around/quick fix on it?

    BR/shortie
  5. Answer
    Jack
    Admin
    Jack avatar
    2333 posts

    Posted 13 Nov 2009 Link to this post

    Hello ChunChang,

    I understand. In this case you could try the following work around:

    void radGridView1_CellValidated(object sender, CellValidatedEventArgs e) 
        if (this.radGridView1.CurrentCell is GridCheckBoxCellElement) 
        
            foreach (FilterExpression filter in this.radGridView1.MasterGridViewTemplate.FilterExpressions) 
            
                if (filter.FieldName == ((GridViewDataColumn)this.radGridView1.CurrentColumn).FieldName && 
                    filter.Predicates[0].Function == GridKnownFunction.NoFilter) 
                
                    this.radGridView1.MasterGridViewTemplate.FilterExpressions.Remove(filter); 
                    break
                
            
        
    }

    I hope it helps.

    Kind regards,
    Jack
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top