K
karunakar
Hi All
In datagrid OnMouseOver iam showing some color
Onmouseout also working fine .
Here my problem is when ever click the pariculat row in DataGrid iam showing
red color that time i am not getting any problem .
when ever mouse was changed paricular row that time color is lossed
"When ever click the particular Row That time i want to show that color &
that time dont loss that color( when ever onMouseover changed)"
Here it's not happening
Here i am using this code "Onclick event " it is showing that color but it
is not stable that color :
e.Item.Attributes.Add("onclick","this.style.backgroundColor='Red';
this.style.cursor='hand';");
e.Item.Attributes.Add("onmouseover", "this.style.backgroundColor='Silver';
this.style.cursor='hand';");
e.Item.Attributes.Add("onmouseout","this.style.backgroundColor='yellow';
this.style.cursor='hand';");
Regards,
Karunakara Rao.
In datagrid OnMouseOver iam showing some color
Onmouseout also working fine .
Here my problem is when ever click the pariculat row in DataGrid iam showing
red color that time i am not getting any problem .
when ever mouse was changed paricular row that time color is lossed
"When ever click the particular Row That time i want to show that color &
that time dont loss that color( when ever onMouseover changed)"
Here it's not happening
Here i am using this code "Onclick event " it is showing that color but it
is not stable that color :
e.Item.Attributes.Add("onclick","this.style.backgroundColor='Red';
this.style.cursor='hand';");
e.Item.Attributes.Add("onmouseover", "this.style.backgroundColor='Silver';
this.style.cursor='hand';");
e.Item.Attributes.Add("onmouseout","this.style.backgroundColor='yellow';
this.style.cursor='hand';");
Regards,
Karunakara Rao.