yes...im getting hdnvalue="null"
i think my rowdatabounevent is not calling javascript function.i dont know why??,tell me if i made anything wrong....
protected void grdempissues_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
Label lblempid = (Label)e.Row.FindControl("lblempid");
lblempid.Attributes.Add("Onkeypress", "javascript:return Validate('" + e.Row.RowIndex + "')");
}
}
my javscript function is,
function Validate(rowno)
{
document.getElementById("hdnvalue")=rowno;
}
See29ram, if this helps please login to Mark As Answer. | Alert Moderator