Ken,
It should set itself automatically. But if I'm not following exactly what
you want to do then you access the custom validator by using FindControl:
Dim MyControl As CustomValidator =
CType(GridView1.Rows.Item(0).FindControl("MyCustom Validator"),
CustomValidator)
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"ken" <ke*@discussions.microsoft.com> wrote in message
news:82**********************************@microsof t.com...
I added a CustomValidator in Gridview edit mode, how to set the
cusomvalidator to invalid or valid when check the update