Hello all,
I have use the Following code...
if (flag == true)
{
((ListView)cntr l).Enabled = false;
((ListView)cntr l).BackColor = Color.White;
}
else
{
((ListView)cntr l).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..
I have use the Following code...
if (flag == true)
{
((ListView)cntr l).Enabled = false;
((ListView)cntr l).BackColor = Color.White;
}
else
{
((ListView)cntr l).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..