Wednesday, 7 February 2018

.net - CS0103 C# AND ASP.net The name 'model' does not exist in the current context

I have a file called date.cshtml .
date.cshtml code



   @model DateTime? 
@(Html.Kendo().DatePickerFor(m => m))


I'm getting error at @model . date.cshtml file is under razor folder . How to fix this issue . Any link or any document will be helpful . For more details I attached web.config code



Web.config




   


















































Please help

No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...