This is a migrated thread and some comments may be shown as answers.

Validation in a window

1 Answer 37 Views
Window
This is a migrated thread and some comments may be shown as answers.
Anan
Top achievements
Rank 1
Anan asked on 08 Jul 2010, 05:14 AM
Hello

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.

Thanks

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 12 Jul 2010, 12:07 PM
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
Tags
Window
Asked by
Anan
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or