> > How to implement validation in a form component that implements > IFormComponent so that it uses delegate and other validation objects > from the page it is contained with. > > I have validation well implemented in one of the basePages of mine and > I would like to make new form component use it. Anybody know how to do > this?
Ok so I finally found out about simple solution and document it here for future generations. ;) When creating components that participate in form submission and you need validation mechanism out of the box use ValidatingTextField from contrib library. It uses ValidationDelegate from the form it is contained with. I did not expect solution to be so simple. cheers Łukasz
