<script language="javascript" type="text/javascript">
function ConfirmDeletion()
{
return confirm('Are you sure you want to delete this record?');
}
</script>
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Cells[7].Attributes.Add("onclick", "return ConfirmDeletion();");
}
function ConfirmDeletion()
{
return confirm('Are you sure you want to delete this record?');
}
</script>
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Cells[7].Attributes.Add("onclick", "return ConfirmDeletion();");
}
1 comment :
I want change of row color on mouse over. I need there should be a default row color then I want to change ths on mouse over. How to do that.?
Post a Comment