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
1
1
2
3
Next
Jump To Page
ListBox Control not rendering
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Trent Taylor
Trent Taylor
posted 12 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
Michel Levy
Michel Levy
posted 12 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 12 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 12 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
12 Years Ago by
Michel Levy
Reply
Like
1
Trent Taylor
Trent Taylor
posted 12 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 12 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
(
208 views,
13.00 KB
)
listbox3.png
(
208 views,
28.00 KB
)
listbox2.png
(
214 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
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
Andrew Harper
Andrew Harper
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 87,
Visits: 3.3K
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
Andrew Harper
Andrew Harper
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 87,
Visits: 3.3K
Thanks Trent.
Could you please post sample of what the builder generates for a list box so that I can try creating the control manually in the ASPX file?
Best regards,
Andy
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
Andrew, I have been doing a lot of SF web development lately, but I cannot recall using the listbox. I generally use the listview. So I will run a test to see if something has changed or if there is an issue. Thanks.
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
1
1
2
3
Next
Jump To Page
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search