阅读背景:

用户在部分视图中登录并显示错误

来源:互联网 

I want to build a login form that displays in a sidebar across every page in my site. If the user enters an incorrect user/pass, I want the errors to be displayed above this form (with the rest of the page remaining as it was before), and if he logs in successfully, I want the form to change to a list of information about the user (again, with the rest of the page the same as before the login). I am using an MVC 3 web application project with the default Internet Application template. I have this:I want to build a login form that displays in a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: