DataGrid - launch JS function on ItemDataBound
- by Faruz
Is there any way to launch a JS function after a dataGrid launches its ItemDataBound event?
I've tried adding a JS block to the ItemDataBound function like:
protected void itemDataBound (e sender, arguments args)
{
ClientScript.RegisterStartupScript(typeof(string),"test","alert('testing');",true);
}
but it did nothing.
Am I missing something?