I am trying to extend asp.net membership sytem but I have to admit that I have not much experience for it so need a bit guidance.
I created registration form using usercontrol and added some fields for collectiong more extra data like phone number as (Textbox), work type as (DropDownList).
I also created Member Type and added some property phone number as (textstring), work type as (Dropdown Multiple), also added property to web.config file.
After successfully creating user, I am able to see phone number on admin backend but not Work Type.
My question is;
1) Is this the right approach to collect user data using usercontrol? If it is, how is work type displayed after creating user on admin backend?
2) Is there better way to collect extra data from user and save it to umbraco on member section?
I'm desperately looking for a good way to save and retrieve data to membertype properties and I'm very irked at the lack of unified documentation or definitive posts on the topic (especially from a current version of the app - I'm on 4.5.2).
How to save custom property into Member Type?
Hi all,
I am trying to extend asp.net membership sytem but I have to admit that I have not much experience for it so need a bit guidance.
I created registration form using usercontrol and added some fields for collectiong more extra data like phone number as (Textbox), work type as (DropDownList).
I also created Member Type and added some property phone number as (textstring), work type as (Dropdown Multiple), also added property to web.config file.
After successfully creating user, I am able to see phone number on admin backend but not Work Type.
My question is;
1) Is this the right approach to collect user data using usercontrol? If it is, how is work type displayed after creating user on admin backend?
2) Is there better way to collect extra data from user and save it to umbraco on member section?
Here is my code;
Thanx,
ds
Did you ever find a solution to this?
I'm desperately looking for a good way to save and retrieve data to membertype properties and I'm very irked at the lack of unified documentation or definitive posts on the topic (especially from a current version of the app - I'm on 4.5.2).
(Edits work?)
Hi Jason,
Check out this blog post, this is how I implemented on a recent site and it seems to work very well: http://www.aaron-powell.com/umbraco-members-profiles
I can then retrieve properties like so
And set them like so
Hope this helps,
Tom
Thanks Tom, I appreciate your quick reply and will give it a look!
is working on a reply...