简体   繁体   中英

Changing Radgrid value changes other

I have a Radgrid with column that can has a 2 values: YES or NO. Value is presented in label and when I doublcick on this cell, it changes into combobox, so user can choose from yes or no. Now, I want to achieve something like this: when I set one row to YES i want all other rows set to NO. So it will be always only one row with value YES. I hope you understand me. How to do it?

Here is how to loop through the items and access them http://www.telerik.com/forums/loop-through-rows-of-radgrid-and-retrieve-cell-values

Another option is, since each row is a data item, to modify the datasource accordingly and Rebind() the grid.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM