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
    Preethi
    0

    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 791 posts 1189 karma points c-trib
    Jul 05, 2013 @ 16:31
    Martin Griffiths
    0

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

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

    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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies