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

Cursor/Caret disappearing in Expression_Dark theme

3 Answers 57 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 10 Jul 2014, 04:49 PM
Hello,
The Caret is disappearing using this control with Expression_Dark and PlainText mode. It can reproduced on your demo site. It maybe be related to the same issue from the NumericUpDown control, see: http://www.telerik.com/forums/cursor-caret-disappearing-in-expression-dark-theme#fNFa8QQxBUW44-TLcDFNIQ

Any workaround or time frame for a fix?
Thanks,
Patrick

3 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 14 Jul 2014, 03:14 PM
Hi Patrick,

This has been fixed with our hotfix binaries Telerik_UI_for_Silverlight5_2014_2_0707_TRIAL_hotfix (you can download them under Your Account -> Latest Internal Builds). Indeed the issue was the same as the one you pointed out - there should be preset CaretBrush for the TextBox. If you open RadMaskedInputBaseStyle under ExpressionDark or VisualStudio2013 themes you'll see the fix (these themes require different Caret Brush than the default Black one):

<telerikMaskedInput:PreviewInputTextBox.CaretBrush>{StaticResource CaretBrush</telerikMaskedInput:PreviewInputTextBox.CaretBrush>

 I attached a sample demonstrating that the CaretBrush is White in ExpressionDark theme.

Regards,
Evgenia
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Patrick
Top achievements
Rank 1
answered on 15 Jul 2014, 08:22 PM
Evgenia,

Thank you, this is good to know. As an immediate short term fix we did the following.
OurRadMaskedInputBaseControlInstance.GotFocus += (s, args) =>
{
    var previewInput = args.OriginalSource as PreviewInputTextBox;
    if (previewInput != null)
        previewInput.CaretBrush = new SolidColorBrush(Colors.White);
};

Do you have any idea when the next non-beta telerik release will happen? We are trying to coordinate our code pushes.
Thanks,
Patrick
0
Evgenia
Telerik team
answered on 18 Jul 2014, 08:46 AM
Hi Patrick,

Our Service Pack will come live at the end of this month and our Next Official Release Q3 2014 is still under planning but will most probably be released in October. 

Regards,
Evgenia
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Patrick
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Patrick
Top achievements
Rank 1
Share this question
or