![]() |
Datagrid onclick change cell backcolor
Hi,
is it possible to change datagrid cell backcolor when user click on it ? Thks for help. |
Re: Datagrid onclick change cell backcolor
Sure,
In either ItemDataBound or PreRender event get to the cell and set Attributes["onclick"]="onCellClick(this)"; In javascript function onCellClick set visual parameters or apply a css style to the cell referenced by the input parameter. Eliyahu "Franck" <wesley.saris@gmail.com> wrote in message news:1118146084.801032.191690@g49g2000cwa.googlegr oups.com... > Hi, > is it possible to change datagrid cell backcolor when user click on it > ? > > Thks for help. > |
| All times are GMT. The time now is 01:24 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.