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

Cursor/Caret disappearing in Expression_Dark theme

5 Answers 97 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 25 Sep 2013, 03:46 PM
Hello,
This can be reproduced on the demo site. 

  1. Visit http://demos.telerik.com/silverlight/#NumericUpDown/Theming
  2. Click Expression_Dark
  3. Click the *center* of the "Currency Format" to select it
  4. Press Up arrow on keyboard (number will go from 0.00 to 1.00)
  5. Click the *center* of the "Percentage Format" to select it
  6. Press Up arrow on keyboard (number will go from 0.0000 to 1.0000)
  7. Click the *center* of the "Currency Format" to select it
  8. At this point the white cursor can no longer be seen on "Currency Format" and possibly "Percentage Format" as well, the behavior is not consistent.

It looks like it might have to do with the focus of the mouse, if you can't seem to reproduce it try moving the mouse away from the entry box before clicking the up arrow. Browser doesn't seem to matter, same on Chrome and IE9.

Will this be fixed ?

Thanks,
Patrick

5 Answers, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 30 Sep 2013, 01:59 PM
Hello Patrick,

We are aware of this problem and it is caused by a problem with the TextBox control. In order to workaround it you can modify the template of NumericUpDown control and set a static value for the CaretBrush of the TextBox inside the numeric:
<TextBox x:Name="textbox" Grid.Row="0" CaretBrush="White" ...>

I'm sending you a sample project demonstrating this approach. Hopefully this helps.

Regards,
Rosen Vladimirov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Patrick
Top achievements
Rank 1
answered on 24 Oct 2013, 07:07 PM
That does seem to help as a workaround, though it's not ideal to copy the entire template.

This is not ideal because when we upgrade our dlls in the future the theme/control may change and break the behavior of the control, this has happened in the past. Upon each upgrade this requires a developer to copy the theme (from the newest DLL) and make the same changes over and over for each control that needed a fully copied template, and even then, things may break because a previous 'workaround solution' is no longer valid with whatever changes occurred from the last update inside the control. We’d really like to keep up–to-date with your controls as you offer a lot of updates and new features, but these kinds of things cause us to avoid doing so.

We also noticed the disappearing cursor issue with the regular Silverlight Textbox which is themed with telerik Expression_Dark. Forcing the CaretBrush on the Textbox seems to help.

Is it possible for telerik to fix this issue in the future without having to use this workaround? If so, when could we expect it?

Thanks,
Patrick
0
Accepted
Rosen Vladimirov
Telerik team
answered on 28 Oct 2013, 08:59 AM
Hello Patrick,

We have fixed the issue with RadNumericUpDown and the fix is available with our latest official release - 2013 Q3. You can download it under your account and inform us in case you still have problems or concerns.

We'll take a look at the issue with the TextBox style. Thank you for pointing it. Could you test the latest official release and inform us if it works for RadNumericUpDown issue? I'm looking forward to hearing from you.

Regards,
Rosen Vladimirov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Patrick
Top achievements
Rank 1
answered on 29 Oct 2013, 02:34 PM
Rosen,
Yes it appears that Q3 2013 fixes the issue with RadNumericUpDown. Thank you this helps us out a lot. 

Just so you're aware our TextBox control with the similar issue (fixed with a CaretBrush set) is implicitly styled with an application theme, not sure if that makes a difference...

Thank you,
Patrick

0
Rosen Vladimirov
Telerik team
answered on 30 Oct 2013, 09:57 AM
Hello Patrick,

Thanks for the detailed information. We have reproduced the issue and our developers will take a look at it.

I'm glad everything else is working fine on your side with our latest release. Feel free to contact us in case you have any other problems or concerns.

Regards,
Rosen Vladimirov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
NumericUpDown
Asked by
Patrick
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
Patrick
Top achievements
Rank 1
Share this question
or