Would be wonderful that all controls implement .Invalid

2 posts, 0 answers
  1. Daniel
    Daniel avatar
    16 posts
    Member since:
    Jun 2013

    Posted 12 Jun 2014 Link to this post

    For UX it is interesting flag the error with a visual signal, RadInputControl has .Invalid method that runs fine for this purpose.

    I miss this functionality in other controls, I know than RadDatePicker has DateInput that implements .Invalid, but they are controls that don't has this possibility (as RadButton) 

    Would be wonderful that all controls implement .Invalid, in this way when a validation error raises from, for example dbcontext, I can flag error in form.

    Is there a workaround for other controls?
  2. Konstantin Dikov
    Konstantin Dikov avatar
    2466 posts

    Posted 17 Jun 2014 Link to this post

    Hi Daniel,

    The main idea of Invalid is to be used when invalid data is entered within an input element and there is no practical use for invalid state of non input elements.

    Could you please elaborate in what scenario an Invalid state would be set to a RadButton for an example. If there is actually a use case scenario, where such property could be used for every control, you could add a feature request in our Ideas & Feedback Portal with your suggestion and if the item receives enough votes, our developers team will consider implementing such functionality in one of our future releases.

    Please let us know if we can assist you any further.

    Konstantin Dikov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top