Validation in a window

2 posts, 0 answers
  1. Anan
    Anan avatar
    31 posts
    Member since:
    Oct 2009

    Posted 08 Jul 2010 Link to this post


    I am showing a user control inside the radwindow.confirm that takes two values. The values are required fields. So i want to run some validation code when user clicks ok button. If the validation fails, the radwindow should remain. Is there a way to handle that? I would appreciate your quick response.

  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 12 Jul 2010 Link to this post

    Hello Anan,

     You could hook-up to the PreviewClose event of the RadWindow control and handle it. This will stop closing the window.

    Hope this helps.

    Miroslav Nedyalkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top