This question is locked. New answers and comments are not allowed.
Hi
I've found a bug:
I have a radTextbox, which has a collapsed visibility by default, and I want to make it visible, and focus it on a button press, and I get a nullrefference exception:
at Telerik.Windows.Controls.RadTextBox.OnGotFocus(RoutedEventArgs e)
at System.Windows.Controls.Control.OnGotFocus(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)
Code:
inputTextBox.Text = _searchPattern;
inputTextBox.Watermark = "enter name to find";
inputTextBox.Visibility = Visibility.Visible;
inputTextBox.Focus();
Best Regards
I've found a bug:
I have a radTextbox, which has a collapsed visibility by default, and I want to make it visible, and focus it on a button press, and I get a nullrefference exception:
at Telerik.Windows.Controls.RadTextBox.OnGotFocus(RoutedEventArgs e)
at System.Windows.Controls.Control.OnGotFocus(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)
Code:
inputTextBox.Text = _searchPattern;
inputTextBox.Watermark = "enter name to find";
inputTextBox.Visibility = Visibility.Visible;
inputTextBox.Focus();
Best Regards