I have form with 1 textbox named "txtOutOfMarks" and gridview with student details. Grdview has template field with textbox named "txtObtainedMarks".
I have to call JScript while entering marks in gridviews textbox to check whether obtained marks are greater than outofmarks or not if yes ontinue else alert with msg & clear current field.
Loading
Joginder BangerPosted Feb 7, 2015, 5:56 AM
{ if (e.Row.RowType == DataControlRowType.DataRow)
{
TextBox txtBox = e.Row.Cells[1].Controls[0] as TextBox; txtBox.id+= "id" ;// Add one make counter on ID
}
}
Joginder BangerPosted Feb 7, 2015, 5:42 AM