RenderAction을 쓸때

iamgun(46)
Published in
#it
Words
29
Reading
1 min
9y
Listen to this post
~1 min



새로운 프로젝트 작업 중에


Html.RenderAction("actionName","controller")를 쓸일이 있었다.


근데 이게 웬결


@Html.RenderAction("actionName","controller")를 썼더니 에러가 났다.


헉 왜그럴까 해서 검색해 보았더니


이렇게 쓰라고 나왔다. ^^


 @{Html.RenderAction("actionName","controller");}

위와 같이 쓰니 문제가 없다..히히


 

RenderAction을 쓸때 | Ecency