Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple Databinding Issue
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Simple Databinding Issue
Divers
Thread ID:
01071239
Message ID:
01071239
Vues:
51
I have a business object whose dataset contains 2 tables.

I'm trying to bind an mmRadioButton to the datatable that is not the primary table.

In mmBindStrategySimple.BindData(ImmBindingSimple mmControl, mmBusinessObject bizObj, mmBusinessStateChangeEventArgs e), there is an if statement that is preventing the binding
// Only data bind if the table that changed is the same as the
// table (or DataView table) to which this control is bound
if (DataTableName.ToLower() == e.TableName.ToLower() && !mmString.Empty(MemberName))
Because I'm binding to the non-primary table, DataTableName differs from e.TableName, and therefore nothing is attached to the mmBindDataDelegate

Why is this prevented?

Thanks,
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Répondre
Fil
Voir

Click here to load this message in the networking platform