asp.net mvc - which HTML helper bypasses all templates and renders a simple string? -
this question got tests:
which of following templated html helpers of mvc bypasses templates , renders simple string representation of specified model property?
and options:
- display
- label
- displaytext
- editor
as understand, means, helper displays property string? correct answer label?
the correct answer displaytext , don't confused displaytextfor typed version of displaytext , returns annotation value of model attribute (if predefined) or null otherwise
Comments
Post a Comment