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

How to hide the up/down arrow button on a RadNumericTextBox control?

5 Answers 1866 Views
Input
This is a migrated thread and some comments may be shown as answers.
Vithiya
Top achievements
Rank 1
Vithiya asked on 29 Oct 2009, 07:45 PM
I would like to hide the arrow buttons and let the user type in the numbers in a RadNumericTextBox control. I don't see any method or property to do that. How can I remove those buttons then?

Thank you,
Vithiya

5 Answers, 1 is accepted

Sort by
1
Accepted
Princy
Top achievements
Rank 2
answered on 30 Oct 2009, 06:23 AM
Hello Vithiya,

Check if you have set the ShowSpinButtons property of the RadNumericTextBox to true. If so set it to false as shown below:
aspx:
<telerik:RadNumericTextBox ID="NumericTextBox1" ShowSpinButtons="true" runat="server">  
</telerik:RadNumericTextBox> 

Thanks
Princy.
0
Vithiya
Top achievements
Rank 1
answered on 30 Oct 2009, 01:12 PM
Princy,

Thank you for the response. But I had already tired that and it does not work. Here is the definition as I have in my page.

<telerik:RadNumericTextBox ID="txtFieldValue" runat="server" Width="140px" ShowButton="false"
      ShowSpinButtons="false">
</telerik:RadNumericTextBox>

Vithiya
0
Vithiya
Top achievements
Rank 1
answered on 30 Oct 2009, 08:49 PM
Sorry Princy. Your solution is correct.

There was a default skin that had the showspinbuttons set to true and that was overriding my setting. After I created a new skin with the showspinbuttons=false, it worked.

Thank you,
Vithiya
0
Parimal
Top achievements
Rank 1
answered on 05 Aug 2010, 05:05 AM
hi

Any how can i arrange SpinButtons arroung the teleriknumeric text box.
ShowSpinButton show the button next to the numeric text box, But i am looking to put dicrease button left side and increase button on right side.

Any help should be great

Thanks



0
Daniel
Telerik team
answered on 09 Aug 2010, 12:17 PM
Hello Parimal,

Please don't post the same question multiple times. I already answered in this thread:
RadNumericTextBox forum thread

Regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Input
Asked by
Vithiya
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Vithiya
Top achievements
Rank 1
Parimal
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or