Changing the Look and Feel

5 posts, 1 answers
  1. Ian
    Ian avatar
    51 posts
    Member since:
    Apr 2009

    Posted 17 May 2009 Link to this post

    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 
  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 18 May 2009 Link to this post

    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.
  3. DevCraft banner
  4. Ian
    Ian avatar
    51 posts
    Member since:
    Apr 2009

    Posted 18 May 2009 Link to this post

    That's just what I was looking for. Many thanks.

    Ian
  5. Tim
    Tim avatar
    169 posts
    Member since:
    Apr 2008

    Posted 12 Dec 2010 Link to this post

    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
  6. George
    Admin
    George avatar
    1332 posts

    Posted 16 Dec 2010 Link to this post

    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
Back to Top
DevCraft banner