Populating a DropDownList with a Business Object


Author
Message
PeterA
PeterA
StrataFrame Novice (72 reputation)StrataFrame Novice (72 reputation)StrataFrame Novice (72 reputation)StrataFrame Novice (72 reputation)StrataFrame Novice (72 reputation)StrataFrame Novice (72 reputation)StrataFrame Novice (72 reputation)StrataFrame Novice (72 reputation)StrataFrame Novice (72 reputation)
Group: Forum Members
Posts: 72, Visits: 235
I'm having some trouble getting a DropDownList to populate from a business object. I can get the page to load, but nothing shows in the object.



The business object is getting populated with the four records from the database to indicate a type, but these same four records aren't being transferred into the DropDownList.



1) PopulationType = "BusinessObject"

2) I've tried setting the "Method to Execute" option for PopulationDataSourceSettings to "Add()" and "Refresh()"

3) I've tried various combinations of settings for "PopulateOnPostBack" and "BindingDirection"

4) The same DropDownList is bound to a second business object where the unique key from the child business object is put into the foreign key field.



The binding piece doesn't seem to be a problem, but it keeps showing a blank drop down list. Is there something I'm missing? Something in my code to kick off populating the list?



Thanks for any help!



Peter
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search