This question is locked. New answers and comments are not allowed.
Basically, I want the RadWindow.Prompt to prevent the user from exiting the screen if the password does not matches. Right now it will close the alert box regardless if they enter the right password or not.
My code is below:
RadWindow.Prompt("Please enter your password to continue", new EventHandler<WindowClosedEventArgs>(OnClosed));
private void OnClosed(object sender, WindowClosedEventArgs e)
{
if (e.PromptResult == "mike")
{
//PREVENT Alert Dialog box from exiting if the result does not equal mike
return;
}
}
My code is below:
RadWindow.Prompt("Please enter your password to continue", new EventHandler<WindowClosedEventArgs>(OnClosed));
private void OnClosed(object sender, WindowClosedEventArgs e)
{
if (e.PromptResult == "mike")
{
//PREVENT Alert Dialog box from exiting if the result does not equal mike
return;
}
}