Hi,
I have the following code:
dim objectControl as new myCustomControl 'This control have two buttons "OK" and "CANCEL"
With radObjectWindow
.Header = "Some text...."
.WindowStartupLocation = WindowStartupLocation.CenterScreen
.ResizeMode = ResizeMode.NoResize
.Owner = Owner '(Window.GetWindow(me))
.Content = objectControl
.ShowDialog()
End With
This code works fine, the modal window have a behavior expected, but how capture the "OK" or "CANCEL" click action....from buttons into a RadWindow....into a CustomControl.....
In fact, I have understood that the radwindow is asynchronous, then how to make action buttons in the custom control affect the program flow of this modal window .....
Thanks....
I have the following code:
dim objectControl as new myCustomControl 'This control have two buttons "OK" and "CANCEL"
With radObjectWindow
.Header = "Some text...."
.WindowStartupLocation = WindowStartupLocation.CenterScreen
.ResizeMode = ResizeMode.NoResize
.Owner = Owner '(Window.GetWindow(me))
.Content = objectControl
.ShowDialog()
End With
This code works fine, the modal window have a behavior expected, but how capture the "OK" or "CANCEL" click action....from buttons into a RadWindow....into a CustomControl.....
In fact, I have understood that the radwindow is asynchronous, then how to make action buttons in the custom control affect the program flow of this modal window .....
Thanks....