Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Preethi 32 posts 99 karma points
    Apr 03, 2013 @ 16:03

    override Validate() on Code First

    I am using the Registration form example from the codefirstexample.

    The override validate event does not fire. What am I missing? ShowValidationSummary is set to true

    Using Contour 3.0.9 and Umbraco 4.11.3.



  • Martin Griffiths 781 posts 1178 karma points c-trib
    Jul 05, 2013 @ 16:31
    Martin Griffiths

    From memory Validate() only works if you're using the razor macro.

  • Tim Geyssens 6419 posts 15052 karma points MVP 2x c-trib
    Jul 09, 2013 @ 13:03
    Tim Geyssens

    Yup that's correct Martin, the submit and validate method will only fire for the razor macro :)

    We'll make the usercontrol one obsolete soon since the razor one is the prefered option

Please Sign in or register to post replies

Write your reply to: