Problem with ListVew Enable Property
Hello all,
I have used the Following code...
if (flag == true)
{
((ListView)cntrl).Enabled = false;
((ListView)cntrl).BackColor = Color.White;
}
else
{
((ListView)cntrl).Enabled = true;
}
After enabling Listview to false, the backcolor changes to Default
Control. instaead of white which i set... what is happninh here.. does
any perooprty is remaining to change???
Actually i want to make the ListView REadonly.. But i didnt find any
read only proprty.. Does Anybody knows how to solve this.. PLz REply..