Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trial Tribulations
Message
De
13/10/2008 16:30:32
Sid Meyers
Omegaware Consulting, Inc.
Minnesota, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Trial Tribulations
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01354693
Message ID:
01354693
Vues:
62
Slowly but surely.... OK slowly anyway.

I know I'm fighting this a little too much!

Trying to setup a new web form with a simple MMRad combo box and MMRad text box.

I've registered 2 business objects.
    Protected oClub As New Club
    Protected oClubData As New Club
The first object oClub is to drive the combo box, which I have working just fine. Although, when I go to pick the business object from the wizard it only displays 1 object: "Club".
   bindingsource = "Club"
   bindingsourcemember = "Clubname"
The second should drive the text box once a selection has been made from the combo. If I set the bindingsource to "Club" I get only the first item name displayed. If I set it to "oClubData" I get nothing.

I've been able to get the text box to display the entity.fieldname text by traversing the EntityList.Item(combo.selectedindex) but I think I should be able to do this through the binding properties.

How should the textbox bindingsource property and bindingsourcemember be wired?

I know the sample passes the PK as a parameter to a new page, but shouldn't this be possible?

Thanks,
-Sid Meyers.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform