Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@model does not exist in the current context
Message
 
To
03/03/2014 11:04:30
General information
Forum:
ASP.NET
Category:
MVC
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01595609
Message ID:
01595704
Views:
33
One other thing I've just discovered , if you use @Html.DisplayFor(x => x.SomeField) on a IEnumerable collection it's only intellisense that doesn't work properly ( you get the IEnumerable properties ) , but if you run it it will work, also I think intellisense rebuilds itself somehow as if I now hover over a x.SomeField object I get the correct class property type once I've actually run the app, stranger and stranger.
Regards,
Peter J. Kane



Pete
Previous
Reply
Map
View

Click here to load this message in the networking platform