inotifydataerrorinfo

6 posts, 0 answers
  1. tomas
    tomas avatar
    139 posts
    Member since:
    Sep 2012

    Posted 04 Apr 2013 Link to this post

    No support of this interface?

    Thank you Tomas
  2. George
    Admin
    George avatar
    1332 posts

    Posted 09 Apr 2013 Link to this post

    Hi Tomas,

     
    Could you give us some more information about your scenario? Please, note that the INotifyDataErrorInfo should be implemented in the Model or in the ViewModel. Can you share some information about INotifyDataErrorInfo interface support?

    All the best,
    George
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. tomas
    tomas avatar
    139 posts
    Member since:
    Sep 2012

    Posted 13 Apr 2013 Link to this post

    Hello,

    Of course, I know how to implement that interface in the view model.

    I would like to see the visual feedback (red frame about the control and the error message inside) when the binded property has an error message in a error collection.

    Nothing special. Exactly the same like the standard textbox control.

    Thank you.

    Tom
  5. George
    Admin
    George avatar
    1332 posts

    Posted 18 Apr 2013 Link to this post

    Hello Tom,

     
    RadListBox control is not designed to support data validation. The red frame is missing because it's not located in the control template and there is no error tooltip. You can edit the RadListBox control template and add validation tooltip and validation states as well. We logged feature request for this user scenario and we can vote for it and track its progress here - http://www.telerik.com/support/pits.aspx#/public/silverlight/14806

    I would suggest using a RadComboBox control instead of RadListbox for data validation. You can find an online example here - http://demos.telerik.com/silverlight/#ComboBox/Validation

    Hope this helps.

    All the best,
    George
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. tomas
    tomas avatar
    139 posts
    Member since:
    Sep 2012

    Posted 18 Apr 2013 Link to this post

    Hi.

    It is bad luck.

    It may be doable, but I have no knowledge how to listen to the bound property throwed errors.

    I can use silverlight toolkit listbox, it can show validation messages, but it does not support your themes.

    :-(

    Thank you

    Tom
  7. Masha
    Admin
    Masha avatar
    355 posts

    Posted 22 Apr 2013 Link to this post

    Hi Tomas,

    You need to add ValidationStates to the control template of RadListBox.
    The attached project demonstrates how to show validation ToolTip inside RadListBox control.

    I hope it helps.

    Greetings,
    Masha
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner