From: Nathan Sokalski on 8 Mar 2010 15:23 I have a custom validator that inherits from BaseValidator, and I need to be able to access the control specified by the ControlToValidate property. The only way I have been able to find to do this is to recursively use the FindControl method, which can sometimes be inefficient depending on where the control is located. I'm sure I'm not the first person to want to access the ControlToValidate control in a custom validator, so does anybody know of a more efficient way? Thanks. -- Nathan Sokalski njsokalski(a)hotmail.com http://www.nathansokalski.com/
|
Pages: 1 Prev: How to open a website using vb6.0 or vb.net Next: nHibernate |