StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WebForms (How do I?)
»
ListBox Control not rendering
ListBox Control not rendering
Post Reply
Like
2
ListBox Control not rendering
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Andrew Harper
Andrew Harper
posted 14 Years Ago
ANSWER
HOT
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 91,
Visits: 3.4K
Hi,
I am getting the error message below displayed on a web form in design mode after exiting from the PopulationDataSourceSettings builder:
Immediately below the listbox are DropDownList and ListView Controls both of which display details from the ProductRangeBO correctly when the form is run.
I am using VS2008 and SQL Server 2008 on a Windows XP notebook for development. The notebook also has VS2003, VS2005 & VS2010 installed on it. I have version 1.7.3 of Stratrame installed according the the Help about screen in VS.
Any suggestions most gratefully received,
TIA,
Andy
Reply
Like
2
Replies
Andrew Harper
Andrew Harper
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 91,
Visits: 3.4K
Hi Trent,
Back from a week off - I loaded VS2010 and latest version of strataframe into a Windows 7 VM. Still can't generate Listbox - suspect that this is a bug in Strataframe.
Best regards,
Andy
Reply
Like
1
Trent Taylor
Trent Taylor
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Could be, I still haven't looked...sorry
Listbox is not a very commonly used control as there are so many better controls that have taken its place. So I will add this to my list and get on it. Sorry for the delay.
Reply
Like
1
Michel Levy
Michel Levy
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 193,
Visits: 9K
Hi Trent,
not that I use this control, but I'm writing an article in french, presenting all SF lists and combos controls, both for winforms and webforms. And I confirm that this ListBox does not render in designer mode.
I may write the aspx code in source mode:
<
SFWeb
:
ListBox
ID
=
"ListBox1"
runat
=
"server"
PopulationType
=
"BusinessObject"
Width
=
"189px"
Height
=
"131px"
>
<
PopulationDataSourceSettings
BusinessObjectType
=
"WebApplication13.BOcategories"
DisplayFieldNamesAlternate
=
"categoryid|categoryname|"
FormatString
=
"{1}"
MethodToExecute
=
"Data4List;"
ValueMember
=
"categoryid"
/>
</
SFWeb
:
ListBox
>
I get that message (see listbox1.png attached)
If I launch the designer after having written the code, all seems OK (see listbox2.png attached):
And if I validate the designer by clicking OK, the result is... (see listbox3.png attached)
Hope it will help.
Attachments
listbox1.png
(
222 views,
13.00 KB
)
listbox3.png
(
223 views,
28.00 KB
)
listbox2.png
(
230 views,
66.00 KB
)
Reply
Like
1
Trent Taylor
Trent Taylor
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Michel:
All if this looks great. You are correct that the ASPX doesn't rendering in the designer. This is functioning as it is supposed to. I did notice that the designer is not in French, was this one of your concerns?
Reply
Like
1
Michel Levy
Michel Levy
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 193,
Visits: 9K
Trent,
my concern is not that the designer is not in french (hope it will be soon
). No, my real concern is that it is impossible to design this control in the designer (and radiobuttonlist and checkboxlist and bulletedlist, too). The code generated by the designer is wrong.
Edited
13 Years Ago by
Michel Levy
Reply
Like
1
Trent Taylor
Trent Taylor
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Hmmmm....I have a number of folks that use the designer on a regular basis. In fact, a week or so ago I sent a sample to someone using the designer and it worked. I will have to see if I can reproduce your steps. The ListView is the primary list control used on the web side, and so this is what is generally used. So you may be right on some of the lesser used controls. I will take a look at this.
In truth, some of the controls will be getting face-lifts soon anyway. The entire designer environment will be getting a face-list as well. In SF 2.0 we will localize all of the design-time dialogs as well. So you will be getting some lists to translate when we get to that point.
Reply
Like
1
Michel Levy
Michel Levy
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 193,
Visits: 9K
Trent,
Don't worry about this listview, I prefer you focus all your brain on 2.0
you know that french SF user either develop winforms app, either use third party controls for their web development, so nothing is urgent here.
Reply
Like
1
Trent Taylor
Trent Taylor
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Consider my brains dedicated to SF 2.0
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
ListBox Control not rendering
Andrew Harper
-
14 Years Ago
Andy, Almost missed this post! Sorry about that. Could you paste the...
Greg McGuffey
-
14 Years Ago
Hi Greg, The problem occurs whenever I try to add a list box control...
Andrew Harper
-
14 Years Ago
I saw this recently elsewhere and it had to do with the configuration...
Trent L. Taylor
-
14 Years Ago
Hi Trent, I think as a Web Site - is there an easy way to detemine?...
Andrew Harper
-
14 Years Ago
The easiest and quickest way to tell is how you add references. A web...
Trent L. Taylor
-
14 Years Ago
Hi Trent, Thanks for the explanation. It was set up as a Web Site. I...
Andrew Harper
-
14 Years Ago
Still having problem with the builders: 1. I installed StrataFrame on...
Andrew Harper
-
14 Years Ago
Hi Andrew. See if this one helps you:...
Ivan George Borges
-
14 Years Ago
Hi Ivan, Thanks for the suggestion, unfortunately I downloaded the...
Andrew Harper
-
14 Years Ago
Hi Andrew. I am sorry the link didn't help. I am not your best bet...
Ivan George Borges
-
14 Years Ago
Andrew, I have been doing a lot of SF web development lately, but I...
Trent L. Taylor
-
14 Years Ago
Thanks Trent. Could you please post sample of what the builder...
Andrew Harper
-
14 Years Ago
Hi Trent, Back from a week off - I loaded VS2010 and latest version...
Andrew Harper
-
14 Years Ago
Could be, I still haven't looked...sorry :blush: Listbox is not a...
Trent L. Taylor
-
14 Years Ago
Hi Trent, not that I use this control, but I'm writing an article in...
Michel Levy
-
13 Years Ago
Michel: All if this looks great. You are correct that the ASPX...
Trent L. Taylor
-
13 Years Ago
Trent, my concern is not that the designer is not in french (hope it...
Michel Levy
-
13 Years Ago
Hmmmm....I have a number of folks that use the designer on a regular...
Trent L. Taylor
-
13 Years Ago
Trent, Don't worry about this listview, I prefer you focus all your...
Michel Levy
-
13 Years Ago
Consider my brains dedicated to SF 2.0 :)
Trent L. Taylor
-
13 Years Ago
Post Reply
Like
2
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search