Click here to Skip to main content
15,881,139 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi guys,i want to use customValidator.ClientValidationFunction = fnClientFunction.
customValidator in validator groupe "group1"

and

function fnClientFunction(source, args)
{
....
}
this customvalidator fires just for a gridview's textbox column where row numbers > int i
so how to achive that?
thanks in advance.
Posted
Updated 7-Nov-13 22:21pm
v4

1 solution

You can use custom validator control or javascript for the validation. Anyways, if the Gridview validations are supposed to be Gridview Edit or Insert mode so that row only will be validated.

Refer the below link to check how to implement it .

http://www.aspdotnetcodes.com/GridView_Dynamic_Validation.aspx[^]

http://msdn.microsoft.com/en-us/library/ms972948.aspx[^]

http://msdn.microsoft.com/en-us/library/bb426882.aspx[^]

Hope this helps you...
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900