Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I can't get the partial view to render :( Any Ideas?
Package:
http://our.umbraco.org/projects/collaboration/mvcmemberlogin
In view:
@Html.Partial("formMemberLogin",@Model.Content)
Error:
Umbraco 6.1, MVC
The member authentication functionality is pretty easy to setup. You can check this out - http://24days.in/umbraco/2012/creating-a-login-form-with-umbraco-mvc-surfacecontroller/
If you are trying to render the form as a partial view directly, I believe you'll need:
@Html.Partial("formMemberLogin", new MvcLogin.MemberLoginModel())
Thank you Andy, it worked!
I'am always having trouble which Model to be used :)
Best regardsKim
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
MvcMemberLogin package - how to use?
Hi,
I can't get the partial view to render :( Any Ideas?
Package:
http://our.umbraco.org/projects/collaboration/mvcmemberlogin
In view:
@Html.Partial("formMemberLogin",@Model.Content)
Error:
The model item passed into the dictionary is of type 'Umbraco.Web.Models.XmlPublishedContent', but this dictionary requires a model item of type 'MvcLogin.MemberLoginModel'.
Umbraco 6.1, MVC
The member authentication functionality is pretty easy to setup. You can check this out - http://24days.in/umbraco/2012/creating-a-login-form-with-umbraco-mvc-surfacecontroller/
If you are trying to render the form as a partial view directly, I believe you'll need:
Thank you Andy, it worked!
I'am always having trouble which Model to be used :)
Best regards
Kim
is working on a reply...