Problem Removing validation for Cancel Button

1 posts, 0 answers
  1. SivaPrasad Bevara
    SivaPrasad Bevara avatar
    73 posts
    Member since:
    Oct 2012

    Posted 20 Nov 2012 Link to this post

    Hi,

    We are using Telerik Controls for Silverlight (Version: 2012.1.215.1050), RIA services and MVVM.
    I have a popup that contains a Grid and 2 rad buttons "Submit and Cancel".
    I wanted to close the popup in the "Cancel" click, even the grid has validation errors. But its not happening.
    If the Grid doesn't have any errors then it is closing the pop up properly, but if it has errors then its displaying the errors instead of closing.

    I tried using the "RadGridViewCommands.CancelRowEdit", but its not working.
    Even I tried for "CausesValidation = false" in teh cancel button, I think this property is obsoleted.

    How can I handle this case.
    Please help!

    Regards,
    SivaPrasad.B



Back to Top