CustomValidator in Gridview edit mode

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I added a CustomValidator in Gridview edit mode, how to set the
cusomvalidator to invalid or valid when check the update
 
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("MyCustomValidator"),
CustomValidator)

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 
Back
Top