ListBox Control not rendering


Author
Message
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Andrew.

I am sorry the link didn't help.

I am not your best bet on webforms, but hopefully you will get more precise information on your questions from others.

Since you have a MSDN subscription, one thing that could help would be to upgrade to VS2010. So, if you are willing to build a VM for testing, that would be what I would try first.
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
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.
Andrew Harper
Andrew Harper
StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)
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
Andrew Harper
Andrew Harper
StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)
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
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Could be, I still haven't looked...sorry Blush

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.
Michel Levy
Michel Levy
StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)
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 (210 views, 13.00 KB)
listbox3.png (210 views, 28.00 KB)
listbox2.png (216 views, 66.00 KB)
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
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? 
Michel Levy
Michel Levy
StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)
Group: StrataFrame Users
Posts: 193, Visits: 9K
Trent,

my concern is not that the designer is not in french (hope it will be soon Cool ). 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
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
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. Smile
Michel Levy
Michel Levy
StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)
Group: StrataFrame Users
Posts: 193, Visits: 9K
Trent,

Don't worry about this listview, I prefer you focus all your brain on 2.0 Rolleyes
you know that french SF user either develop winforms app, either use third party controls for their web development, so nothing is urgent here.
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