I've an umbraco3 live site with a registration form.
I need to integrate a checkbox multiple datatype in member properties.
In my ascx I've a checkbox list.
Is possible to populate the checkbox multiple data inside the member profile and display the right checboxes checked? or getproperty accept only one string parameter?
Yes, this is absolutely possible. I am not sure if you'd have to create a custom signup page or if the .NET membership provider can handle this for you though.
Programatically you can just do something like this:
Member properties umbraco 3
Hi all,
I've an umbraco3 live site with a registration form.
I need to integrate a checkbox multiple datatype in member properties.
In my ascx I've a checkbox list.
Is possible to populate the checkbox multiple data inside the member profile and display the right checboxes checked? or getproperty accept only one string parameter?
thank you
Alessio
Yes, this is absolutely possible. I am not sure if you'd have to create a custom signup page or if the .NET membership provider can handle this for you though.
Programatically you can just do something like this:
Read more about creating members at nibble.be.
Thank you for your response,
I've solved.
My problem was the space on datatype name.
I'ts generate an
Object reference not set to an instance of an object
error.
this is my trunk code:
cucina is my checkboxlist on registration form
culinarie is my checkboxe multiple datatype on umbraco
{
{
culinarievals += cucina.Items[i].Value.ToString() +
",";
}
}
m.getProperty(
"culinarie").Value = culinarievals;
thank you for the support
is working on a reply...