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

Changing the Look and Feel

4 Answers 58 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 17 May 2009, 03:15 PM
All of the examples for the NumericUpDown control show the same basic control with a textbox on the left, and small up/down arrows stacked vertically on the right, with the only variation across themes in the demo being the colour of the background of the up/down arrows.

Is there any way to change the control so that eg the down arrow appears to the left, and the up arrow to the right? eg something like this:

<-  text box ->

I'm new to templates but it seems I should be able to achieve what I want with a template.  Is there a good example anywhere, or am I wrong in my assumption that I can customise the control to this extent with a template?

Thanks,
Ian 

4 Answers, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 18 May 2009, 02:53 PM
Hello Ian,

You can see a sample in the attached file. I hope it will get you started.

Best wishes,
Dimitrina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Ian
Top achievements
Rank 1
answered on 18 May 2009, 07:40 PM
That's just what I was looking for. Many thanks.

Ian
0
Tim
Top achievements
Rank 1
answered on 12 Dec 2010, 08:18 PM
Anyone have an example of how to make value == 0 show up as some special string?  I.e., I have "Unlimited" (0) and then 1..1000 and I'd like the control to show that.  I don't want to change anything else about the control.  I suspect I need to muck with the control template's textbox and provide an IValueConverter.

Thx,
Tim
0
George
Telerik team
answered on 16 Dec 2010, 10:57 AM
Hi Tim,

Unfortunately, this RadNumericUpDown behavior is not supported. You could use a NullValue. The NullValue will be visible when the text is cleared from the RadNumericUpDown control.

All the best,
George
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
NumericUpDown
Asked by
Ian
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Ian
Top achievements
Rank 1
Tim
Top achievements
Rank 1
George
Telerik team
Share this question
or