Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
255
Silverlight xamWebEditor Validation
posted

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!

 

Parents
No Data
Reply
  • 760
    posted

    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://ko.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

Children