Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error icon not showing
Message
From
14/07/2010 09:43:02
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01472239
Message ID:
01472463
Views:
36
Great stuff Bob, Thanks!

One last thing: how do I get the message to say "A Plan is required" rather than "Plan FK is Required"?

>Frank,
>
>Try setting the control properties for the text box to have the PlanFK field as the BindingSourceMember and Policies as the BindingSource. Then set the BindingType to 'None'.
>
>I have done something similar to this in the past with success but I can't say with total certainty that this will work.
>
>>Bob,
>>
>>that is exactly the problem. I know which field is failing, but the field is not bound to anything on the form. So how does one tell MM.NET to display the icon next to a particular control on the form?
>>
>>>Frank,
>>>
>>>First find out which field is failing the business rule. If you do not have that field listed as a bound control there would be no control to display an icon for.
>>>
>>>
>>>>>Hi,
>>>>>
>>>>>I'm using MM.NET 3.6 on a web form application. I have a Policy Form which allows the user to select a Plan from a gridview, I then display the Plan Code and Description in a text box by concatenating them. The Plan's Primary Key gets stored in Policies.PlanFK. The user must select a Plan as this field cannot be null/empty. How do I tell MM.NET to display the little red exclamation mark icon next to the Plan Code/Description textbox? Right now I get a message that the record cannot be saved and to check the error icons, but none is visible.
>>>>
>>>>Has nobody ever encountered this?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform