2 posts, 0 answers
  1. peter
    peter avatar
    37 posts
    Member since:
    Feb 2011

    Posted 23 Jan 2012 Link to this post

    Hi is there a concept of requiredfieldvalidators in silverlight, if not how are people handling situations which require a textbox to be filled in before a button is clicked, i tried the IDataErrorInfo method, however this does not work when the textbox has not been tabbed into.
  2. Maya
    Maya avatar
    4062 posts

    Posted 24 Jan 2012 Link to this post

    Hi Peter,

    You can try working with DataAnnotations and set Required attribute to the properties you want. Please take a look at the following articles for a reference:
    1. Using DataAnnotations to Customize Data Classes.
    2. Validation.

    Let me know in case you need any further assistance. 

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top