NR
Nandakumar R
Syncfusion Team
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
SS
Suresh Sekarean
Syncfusion Team
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.