Save member in Admin UI clears all properties values
Hi there,
I created custom usercontrols (ascx) and added them as DataTypes so I could use them as propertys in the Member Profile.
Everything works fine when the user registers or edits his profile in the page I built for that purpose, but when I save their profile in the Admin UI, when trying to add a new role to a specific user, all the profile properties are overwritten with empty values.
The controls are simply, except for one that uploads a photo using ajax without postback, but that's not the problem.
I really need the ability to add and remove roles to users, without deleting their profile properies...
I'm I doing something wrong?
Here's the code for one of the DataTypes I created. It's a dropdownlist that shows a textbox when the user selects the Other option. You can imagine the ascx... :)
Save member in Admin UI clears all properties values
Hi there,
I created custom usercontrols (ascx) and added them as DataTypes so I could use them as propertys in the Member Profile.
Everything works fine when the user registers or edits his profile in the page I built for that purpose, but when I save their profile in the Admin UI, when trying to add a new role to a specific user, all the profile properties are overwritten with empty values.
The controls are simply, except for one that uploads a photo using ajax without postback, but that's not the problem.
I really need the ability to add and remove roles to users, without deleting their profile properies...
I'm I doing something wrong?
Here's the code for one of the DataTypes I created. It's a dropdownlist that shows a textbox when the user selects the Other option. You can imagine the ascx... :)
is working on a reply...