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

unbound checkbox column selection scrolling problem

3 Answers 64 Views
GridView
This is a migrated thread and some comments may be shown as answers.
shortie
Top achievements
Rank 2
shortie asked on 11 Nov 2009, 09:50 AM
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

3 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 12 Nov 2009, 05:08 PM
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.
0
shortie
Top achievements
Rank 2
answered on 13 Nov 2009, 12:03 AM
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
0
Accepted
Jack
Telerik team
answered on 13 Nov 2009, 04:51 PM
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.
Tags
GridView
Asked by
shortie
Top achievements
Rank 2
Answers by
Jack
Telerik team
shortie
Top achievements
Rank 2
Share this question
or