Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple Databinding Issue
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Simple Databinding Issue
Miscellaneous
Thread ID:
01071239
Message ID:
01071239
Views:
53
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
Reply
Map
View

Click here to load this message in the networking platform