c# - Compilation Error in mvc 4 -



c# - Compilation Error in mvc 4 -

i using mvc 4 application. application should running correctly showing compilation error , cleared temp files not working please help me

my error is:

view code

<div id="page-wrapper"> <div class="row"> <div class="@viewbag.hideclass"> @viewbag.message </div> <div class="col-lg-12"> <h2 class="page-header"> user registration </h2> <input type="hidden" id="menuid" value="@(int)menudetails.menucompanymaster" /> </div> <!-- /.col-lg-12 --> </div>

thank in advane

in view page seek changing this:

value="@(int)menudetails.menucompanymaster"

to this:

value="@((int)menudetails.menucompanymaster)"

in razor syntax, @ section followed ( end c# code @ nearest matching ). in case, it's @(int). menudetails.menucompanymaster section ends beingness random other markup. wrapping in () indicates razor parser it's 1 expression.

however, i'm not if solve problem have.

c# asp.net-mvc asp.net-mvc-4

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -