I spent the last hour or two trying to find a solution to what, in my opinion, should be easy to do, and something that I was thinking about was asked before, but maybe I'm not using the right conditions.
I have a very simple RadGrid that allows me to expand rows for editing or displaying more materials. Here is the GridEditCommandColumn inside
<rad:GridEditCommandColumn EditText="+" UniqueName="EditCommandColumn" ItemStyle-Width="30" HeaderStyle-Width="30" />
Again, nothing special. When the grid loads, there is a “+” symbol for each row, allowing it to expand. If I click on it, it will open correctly, as it should. If I click another line, it closes the one I opened and opens the one I clicked on. Great, everything is in order.
Now what I was trying to find is if I already have a line and I click the "+" link again, I would like this line to close if it is already open. Now it remains open.
Am I the only one who ever wanted it to close if you click it again if it is already open?
source
share