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
Hello, I have registered new member using member service which work fine. Here is the code.
var member = memberService.CreateMemberWithIdentity(model.UName, model.EmailAddress,model.Name, "mymember"); memberService.Save(member); memberService.SavePassword(member, model.Password); Members.Login(model.Password, model.UName);
But I want to save two more fields like company name and company address shown in screen shot. How can I save those fields data?
Use the SetValue method from the MemberService.
SetValue
var member = memberService.CreateMemberWithIdentity(...); member.SetValue("yourProperty", "value here"); memberService.Save(member, true);
Thanks Klika....
Now it's Work Perfectly :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Using member service member register but addition fields data display blank.
Hello, I have registered new member using member service which work fine. Here is the code.
var member = memberService.CreateMemberWithIdentity(model.UName, model.EmailAddress,model.Name, "mymember"); memberService.Save(member); memberService.SavePassword(member, model.Password); Members.Login(model.Password, model.UName);
But I want to save two more fields like company name and company address shown in screen shot. How can I save those fields data?
Use the
SetValuemethod from the MemberService.Thanks Klika....
Now it's Work Perfectly :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.