MVC4部分VIew +模型显示错误

时间:2013-08-19 13:21:23

标签: asp.net-mvc-4 model partial-views asp.net-mvc-partialview

我正在创建局部视图并声明模型。然后我显示此错误:enter image description here

我的部分视图是

@model ApplicationName.Models.RegisterModel;
<div class="slider-box">
    <img src="@Url.Content("~/Content/images/slide-1.jpg")">
    <div class="register-box">
        <div class="reg-title">Join and communicate for FREE!</div>
        <div class="reg-form">
            <input type="text" value="Username">
            <input type="password" value="Password">
            <input type="password" value="Confirm Password">
            <input type="checkbox">I agree to the terms and conditions.
        </div>
        <div class="signup-button-area">
            <button>Sign up for free</button></div>
    </div>
</div>

请尽快帮助我。

此致

0 个答案:

没有答案