Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Custom Registration: How to populate dropdownlist from ListCustom Registration: How to populate dropdownlist from List
Previous
 
Next
New Post
7/8/2006 10:45 AM
 
i'm creating a custom registration form using the 4.3 property editor.  i've created my list datatype from Menu:Host->Lists and i've added my list items.  i then added my datatype to Menu:Admin->User Accounts->Manage Profile Properties->Add New Profile Property.  everything works great.  i know have a custom dropdownlist at registration without doing any coding :). 

i also want to add this list to other dropdownlists on my site.  i've been searching for samples but i can't figure out how to do it programmically.

    Dim objListController As New ListController
    Dim objListInfoCollection As ListInfoCollection = objListController.GetListInfoCollection("myDataType", "DataType", 0)
    Dim objListEntryInfoCollection As ListEntryInfoCollection = objListController.GetListEntryInfoCollection("myDataType")
    Dim objListInfro As ListInfo = objListController.FillListInfo("myDataType", "", 0)
    Dim objListEntryInfo As ListInfo = objListController.GetListInfo("myDataType")

none of these return the list of items for my datatype.  does anyone know how to do this?

 
New Post
7/9/2006 4:47 PM
 
found it

    Dim objListController As New Lists.ListController
    Dim ctlList As New Lists.ListController
    Dim colLookingForType As Lists.ListEntryInfoCollection = ctlList.GetListEntryInfoCollection("LookingForType", "")

    ddlLookingForTypes.DataSource = colLookingForType
    ddlLookingForTypes.DataBind()
    ddlLookingForTypes.Items.Insert(0, New ListItem("<None Specified>", ""))

 
New Post
8/3/2006 4:07 PM
 

Hi,

How did you manage to show the custom list on the Data Type dropdown?  I created the list but it won't show up on my data type selections while adding new profile properties.

Thanks

Sajjad

 
New Post
8/3/2006 5:17 PM
 
"i've created my list datatype from Menu:Host->Lists and i've added my list items.  i then added my datatype to Menu:Admin->User Accounts->Manage Profile Properties->Add New Profile Property. "

this works.

 
New Post
8/11/2006 4:56 AM
 
Can't get this workign at all. Have created a root list. I understand you need to also add an entry to the data types list, but can't work out what to fill in the text and value fields? what did you use to get it working?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Custom Registration: How to populate dropdownlist from ListCustom Registration: How to populate dropdownlist from List


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out