Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
実行時に生成する必要がある JavaScript があります。それはコントローラーにあり、ビューへの文字列として取得します.aspリテラルコントロールのように、mvc 3 razorにはメソッドがあります.??? 助けてマスターズ
これはうまくいくかもしれません:
<script type="text/javascript"> @Html.Raw(Model.YourJavaScriptString) </script>