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 09:56:07
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:
01595664
Views:
34
Hi Craig, I took the easy route and created a new project and added my old project items manually and all is fine now (phew) I printed out my old Web.configs and compared them to the ones that are auto generated for a new project and they were hugely different ( Version numbers mainly ) I still have an issue with one view which receives a model of a type I use in other views
@model IEnumerable Employee ( angle brackets removed to pacify this site )
without issue but it wont play ball , if I use a @Html.DisplayFor() for instance intellisense gives me a list of the properties of IEnumerable instead of my type which is strange - any ideas ?
Regards,
Peter J. Kane



Pete
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform