CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Custom Error Message In ASP.net C# Inmotion

Print topic Send  topic

Author Message
innonet

Posts: 55
Posted: 08/12/2010, 9:34 PM

Could someone please help me with setting up custom error messages ? System messages are most of the times confusing. I have a problem that I need to display a custom error messae if a record can not be added or updated because an entered value is too long.

Any help is appreciated !
View profile  Send private message
tfertil

Posts: 43
Posted: 11/18/2010, 4:07 PM

innoet:

Maybe you can validate the value prior to trying to save it, using the Before Insert / Before Update events of your grid.?
View profile  Send private message
datadoit
Posted: 11/18/2010, 4:18 PM

In your record form, choose the field you want to validate. For Events
-> Server -> On Validate, choose Add Action, and choose Validate Maximum
Length. Put in whatever error message you want under the properties for
the action.

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.