Search Result

Collapse
2 results in 0.0040 seconds.
Keywords
Members
Tags
mvc 3
  •  

  • ParPar
    started a topic Element required on view
    in .NET

    Element required on view

    Is there any option to make an element in the view be required even if it's not in the model?

    (So I could write something like this:@Html.Validatio nMessageFor(... .) in the view.)

    This is not even a field: it's just an input of type='file'.

    Can I do something like this?

    Thanks in advance.
    See more | Go to post
    Last edited by Frinavale; Sep 2 '11, 03:48 PM. Reason: Added code tags and format

  • yiskas
    started a topic Why can't i see the validation error message?

    Why can't i see the validation error message?

    I can't see the validation error message supposed to appear when the field is null.
    if i press the "continue" button and the field is null - the page just does'nt change, and the field becomes red, but no error message appears.
    Is there someone who has any idea what can the reason be?
    See more | Go to post
Working...