DataGrid's Text Selection in a cell

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can i disable the text selection in a datagrid cell. ( i should not be able
to select the text to copy in the datagrid). how to achieve this. Please help
with a sample code.

Thanks in advance
 
In either ItemDataBound or PreRender event get to the cell and set attribute
"unselectable" to "on".

Eliyahu
 
Back
Top