I am glad to see new compare attribute in MVC3. If you do not specify the optional error message for the compare attribute, it will display everything correctly, except for the name of the field you are comparing to. It does not respect the DisplayName attribute of the compared field. For example, if you have this:
The error message displayed will be:
Notice it does not use the DisplayName of 'New Password', but instead uses the property name.
As a workaround to this, you will just have to specify an error message to the Compare attribute. I will report this as a bug to the MVC team, but it may not be something they can easily fix.
Subscribe to:
Post Comments (Atom)
1 comment:
I may even give you some valuable slots tips on one of the best progressive slots to play and how choosing a jackpot recreation can affect on} your chances of successful. Thunderkick 카지노사이트 is an organization based in Stockholm that has been delivering slot games to digital casino operators for a few decade. They name their strengths as daring ideas, fun ideas, heaps of|and plenty of|and many} shade.
Post a Comment