Hi,
We're considering moving from traditional ASP.NET to Silverlight. In the ASP.NET application, we use the Infragistics WebEditors (Numeric, Text, Date) for page entry and subsequent validation of data using server-side custom validators (when the "submit" button is pressed).
Would you have suggested best practices for the same kind of validation of data using SilverLight and the xamWebEditor controls?
Thanks!
Hello,
Some of the most popular input controls from ASP.NET were created in Silverlight as well.
So far, we created XamMaskedEditor and XamNumericEditor. Probably you are familiar with these two input controls from our ASP.NET controls.
Here is a link where you can test them: https://es.infragistics.com/samples/silverlight
In Silverlight we don't have client and server validations because the architecture of Silverlight is different from ASP.NET.
The two editors have two different validations. For example, the XamMaskedEditor can validate entered symbols against previously specified mask. The second validation is performed on a DataBinding level. If the editor is bind to a business object and the setter throw an exception caused by a not correct value,an worning message will be displayed next to the editor. You can test this behavior on our Samples Browser.
Regards,
Doychin Dochev
I've used the ASP.NET Infragistics controls for years now...they've been great! The one I most use is the ASP.NET WebDateTimeEdit editor. My users need to be able to type in historical dates in different decades (a calandar control isn't useful, because it would take many clicks to get to the right year/month, for selecting day). The ASP.NET WebDateTimeEditor allows entry of any of the following formats (for example, for january 1, 2001):
01/01/2001
1/1/2001
1/1/01
and allows entry with or without slashes.
This is what I really need in silverlight. Will an XamDateTimeEditor be coming soon? ....I hope!!!