We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Increment Buttons

Thread ID:

Created:

Updated:

Platform:

Replies:

68607 Sep 25,2007 03:41 PM UTC Oct 12,2007 09:33 AM UTC ASP.NET Web Forms (Classic) 2
loading
Tags: Tools
Dave Daniels
Asked On September 25, 2007 03:41 PM UTC

Hello,

Does anyone know of a way to hide the up and down increment buttons on the currency and numeric editors?

Any help is appreciated.

Thanks,
DVD

Nandakumar R [Syncfusion]
Replied On October 10, 2007 01:52 PM UTC

Hi,

I regret for the long delay in getting back to you.

The up-down buttons in these controls cannot be hidden through property settings.

I have requested our developers to provide more details regarding this issue. I will update you in the next 24 hours about how this can be accomplished in any other way.

Thank you for your patience.

Regards,
Nanda


Suresh Sekarean [Syncfusion]
Replied On October 12, 2007 09:33 AM UTC

Hi DVD,

We regret for this long delay.

NumericTextBox class has an protected property, 'ShowSpinButtons' which is used to Show/Hide the spin button in the control. Please refer the below code snippet.

[C#]

public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
CustomNumericTextBox numeric = new CustomNumericTextBox();
PlaceHolder1.Controls.Add(numeric);
}
}
public class CustomNumericTextBox : NumericTextBox
{
public CustomNumericTextBox()
: base()
{
//Set ShowSpinButtons'
this.ShowSpinButtons = false;
}

}

Please try this and let us know if this helps.

Regards,
Sureshsekaran.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;