RadNumericTextBox Spin Buttons CSS

5 posts, 0 answers
  1. Curt
    Curt avatar
    82 posts
    Member since:
    Sep 2012

    Posted 26 Oct 2012 Link to this post

    Hello,

    I have recently upgraded from Q3 2011 to Q3 2012 and now my Spin Buttons on the numeric text box appears on the bottom of the control rather than to the side (attached image). Can anyone give me a suggestion on what is causing this.

    Thanks
  2. DFal
    DFal avatar
    3 posts
    Member since:
    Oct 2012

    Posted 31 Oct 2012 Link to this post

    some other css in the page would be affecting the alignment of buttons. Just debug in firebug and see which css is being applied.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 01 Nov 2012 Link to this post

    Hello Curt,

    Do you have any custom styles applied to the RadInput control. If yes please provide your input declaration as well as the related styles so we could further help.

    Greetings,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  5. Abhishek
    Abhishek avatar
    1 posts
    Member since:
    Jun 2012

    Posted 20 Nov 2012 Link to this post

    Hi,

    Same issue is occuring for me too after upgrading the telerik controls.

    Not sure why.

    My code is like below:-
     <telerik:RadNumericTextBox ID="txtAccounts_PasswordLength" runat="server" EmptyMessage="1"
                                                                                    MaxValue="50" MinValue="1" ShowSpinButtons="true" Skin="Default" Width="51px" >
                                                                                    <NumberFormat AllowRounding="true" DecimalDigits="0" />
                                                                                </telerik:RadNumericTextBox>

    Please let me know how to fix it.
  6. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 26 Nov 2012 Link to this post

    Hello Abhishek,

    When I place your code in sample page it is working correct. The problem can be cased by custom styles in your page. Try to comment/remove your stiles until you find out what is causing it, or inspect using some browser developer tool to see exactly which style applies and breaks the layout.

    All the best,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017