Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmPicker - trouble with BrokenRule/ErrorProvider
Message
 
To
05/03/2005 11:49:51
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00992974
Message ID:
00993067
Views:
30
>I have been having similar problems when displaying my foreign key values in comboboxes.

I think that the problems relate to how these objects are registered with the form (and the binding context).
Must you regester these "lookup" business objects (used by comboboxes and pickers) as ChildObjects?
Would this assist in push error handling by Business Rules for these "lookup" business objects up to a parent object?
---

I'm not sure we're having the same problem or not. In my case, the rules being checked are for the primary business object, the lookup is just a lookup. That is, I'm just checking that a FK column in the primary biz object, for example, is not null. For me anyway, there's no need to bubble up any broken rules for child biz objects (no header/detail stuff yet).

Also, the ErrorProvider shows up just fine for a ComboBox and a ListBox (they both display info from the FK), it's just the mmPicker that's giving me trouble. Interstingly enough, if I use the the dialog method to display broken rules/warnings, they show up just fine.

Been going through the source code, but as of yet, I can't determine why the ErrorProvider does not show up in my case. Still looking... I know it's there somewhere!
Previous
Reply
Map
View

Click here to load this message in the networking platform