|
In general, validation in an Iron Speed Designer application is done exactly the same as
any .NET application. Here are resources you might find helpful:
How to validate (using a custom validator) a field according to an option selected in a list box:
http://searchvb.techtarget.com/vsnetATEAnswers/0,293820,sid8_gci912327_tax293672,00.html
The above example also shows how to do validation in JavaScript. You can place the JavaScript
in the HTML layout page and it will be passed unmodified to the ASPX page generated by Iron Speed Designer.
The following example shows how to create a custom RequiredIfValidator. This might be helpful if
you are doing this often.
https://secure.codeproject.com/cs/miscctrl/RequiredIfValidator.asp
The following example shows how to use the RequiredFieldValidator with other validation controls to handle blank entries.
http://support.microsoft.com/default.aspx?scid=kb;en-us;313044
|