ok i've seen this asked in lots of places and everything points towards http://scottrk.wordpress.com/2007/11/08/animate-a-gridview-row-using-the-ajax-control-toolkit-from-client-code/
my problem is that i've no idea to implement this as the instructions on this link are a bit flaky
here's the code, anyone know how to implement this without using a regular htmlbutton (like in the code)
my other main problem is that i can't figure out what's javascript and what's csharp :) (i'm one of thos vb people)
function animateRow(affectedRow)
{
//first save the existing row color so you can restore it after the animation is completed
//you may have to do some post-processing to make sure the affectedRowColor is a hex value like #FFFFFF
var affectedRowColor = affectedRow.style.backgroundColor;
animation = new
AjaxControlToolkit.Animation.ColorAnimation(affectedRow, 2, 32,
“style”, “backgroundColor”, “#ffff99″, affectedRowColor);
animation.play();
}
protected void gv_RowCreated(object sender, GridViewRowEventArgs e)
{
GridView gview = (GridView)sender;
e.Row.Attributes.Add(”id”, gview.DataKeys[e.Row.RowIndex]["id"].ToString());
}
var id = “idhere”;
var affectedRow = $get(id);
animateRow(affectedRow);