Hi all,
Am trying to add validation for mobile field(allow only number on keypress & length of 10 only) which is in
gridview edit mode text box.
I seen this http://forums.asp.net/t/1667601.aspx?How+to+Validate+GridView+EditMode+TextBox. it applies for all text boxes. but i want to implement to mobile field
text box only.
is tried adding dynamic event as:
$('#<%=Upanel_gv.ClientID%> .gv_candidates tbody tr .txtmobileno input[type="text"]').bind("keypress", function(event){
isnumber(event);
});
but not got solution. pls help soon as possible.
Note: here data bound using boundfield only.
Thank you
Go to the complete details ...