Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
RowSelectionChanged
posted

I have a webdatagrid where I am wanting to either select or deselect a single row at a time.  If I select the row I want to highlight that row.  If I deselect the row I no longer want the row to be highlighted.  I am able to select the rows (one at a time) and they will highlight, also when I deselect the rows one at a time they will remove the highlight until I get to the last row.  If I try to deselect the last row nothing happens...no postback.  This is only happening if I try to deselct the last highlighted row. I am trying to do this in the code behind since I either inserting or deleting data from a database depending on if I select or deselect the row. Any ideas?

Thanks