This question is locked. New answers and comments are not allowed.
I have on a dialog a multiline TextBox where I want to capture some text.
<TextBox Text="Text here" AcceptsReturn="True" TextWrapping="Wrap" Height="60" Margin="10" /> The Save button on that dialog has the ResponceButton property set to Accept.
<telerik:RadButton Content="Save" telerik:RadWindow.ResponseButton="Accept" /> The problem:
- when I focus on TextBox and try to enter a multiline text (press Enter) the RadWindow.ResponceButton's action is fired. I've been thinking that setting AcceptsReturn should catch the Enter before the dialog, but that's not the case.
Questions:
- Is it a programmed/known behavior?
- How can I work around this feature to get the user to enter a multiline text?
Thanks!