Can't get ListBox to work in designtime


Author
Message
Wil Cantrell
Wil Cantrell
StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)
Group: Forum Members
Posts: 23, Visits: 129
In my web project, I can set the PopulationDataSource on a ListView control and have no problems. But using the same properties for a ListBox control, design view has an error box wher the list box should be with the following error:

ListBox - ListBox1

There was an error rendering the control.

'GroupBO|GetGroups;|Description,|{0}|GroupCode' could not be set on property 'PopulationDataSourceSettings'

PopulationType is set to BusinessObject and BusinessObjectName is set to the web form's instance of the GroupBO, set correctlyi in ApplicationBasePage.cs.

Suggestions? I'm sure it's a beginner's mistake. This is my first attempt at a web app with the framework since last month.

____________________
Programmer/Analyst
Captain D's, LLC

Replies
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Nope, the PopulationDataSourceSettings is an inner property, so you can set the properties as an XML node within the list itself.  The way you have it is probably the best way to do it.
Justin Buist
Justin Buist
StrataFrame Novice (55 reputation)StrataFrame Novice (55 reputation)StrataFrame Novice (55 reputation)StrataFrame Novice (55 reputation)StrataFrame Novice (55 reputation)StrataFrame Novice (55 reputation)StrataFrame Novice (55 reputation)StrataFrame Novice (55 reputation)StrataFrame Novice (55 reputation)
Group: Forum Members
Posts: 17, Visits: 81
Why would the property editor create source that used the pipe-delimited format then?



And why does my text editor think that the element is not allowed there? Is there any way to fix this?
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