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

Cancel Cell or Row selection

1 Answer 93 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Fabien
Top achievements
Rank 2
Fabien asked on 19 Nov 2008, 01:52 PM
Hi,

I'm trying to cancel row selection event. How can i do it?

Because when SelectionChanged event is fired, I can't cancel the event.
I tried to do something like
        private void RadGridView_Summary_SelectionChanged(object sender, EventArgs e) 
        { 
            GridViewRowInfo lastRow = this.RadGridView_Summary.Rows[this.RadGridView_Summary.Rows.Count - 1]; 
            lastRow.IsSelected = true
 
            /* only get */ 
            /* lastRow.IsCurrent = true;*/ 
        } 
 



Thanks

PS : I use RadControls for WinForms Q3 2008

1 Answer, 1 is accepted

Sort by
0
Accepted
Nick
Telerik team
answered on 21 Nov 2008, 08:20 AM
Hello Fabien,

Thank you for your question.

Currently, there is no way to cancel the selection. Sorry for the introduced inconvenience.

Do not hesitate to write me back if you have more questions.

Greetings,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Fabien
Top achievements
Rank 2
Answers by
Nick
Telerik team
Share this question
or