Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why Warning Icons and Message?
Message
De
17/06/2004 16:41:27
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00914085
Message ID:
00914800
Vues:
10
Kevin,

I re-read the developers guide on biz rules and now have a better understanding of the warning vs broken rule notification.

However, is there a way to disable showing the warning for date fields? I added 0 as default value for numerics but don't know how to work around the date type.

As always, thanks for your help.


Terry Carroll



>Terry,
>
>>In a web form, why do I get the warning icon with the following tooltip messages when I Save a row? The fields are not required and nulls are allowed in the table but when no data is entered I get these messages.
>
>>“Input string not in correct format”
>>“String was not recognized as a valid date”
>
>This error occurs when binding the value back from the textbox. The routine that converts the textbox value to DateTime is choking on the empty string. We've fixed this in the upcoming version of MM .NET, so it will automatically handle the empty string value for you.
>
>>Also why is the data saved if there are error or warning messages?
>
>It's saved because there are no broken rules. The error occurred when unbinding the textbox rather than saving data.
>
>Regards,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform