This is a migrated thread and some comments may be shown as answers.

[Solved] UnobtrusiveJavaScriptEnabled and function GetUnobtrusiveValidationAttributes

0 Answers 14 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Attila Vigh
Top achievements
Rank 1
Attila Vigh asked on 29 Dec 2010, 01:31 PM
Hi,

  • UnobtrusiveJavaScriptEnabled=true
  • if Model is null on View then ModelMetadata is null, it is ok
  • but function ViewComponentExtensions.GetUnobtrusiveValidationAttributes raise exception because ModelMetadata is null

va
Tags
General Discussions
Asked by
Attila Vigh
Top achievements
Rank 1
Share this question
or