1

I want to disable the textbox control and control the numeric input to the text box control using vertical scroll bar. How can I do that?

H H
  • 263,252
  • 30
  • 330
  • 514
Harikha V
  • 11
  • 1
  • You may need to be a bit more descriptive. Are you asking how to add a numeric masked text box field where you can set the value of the field using up/down arrows next to the box? (See this sample towards the middle of the page: http://demos.telerik.com/aspnet-ajax/input/examples/radnumerictextbox/firstlook/defaultcs.aspx ) – KTF Apr 19 '11 at 17:06

1 Answers1

3

It doesn't sound like TextBox is the right control to be using; seems like you want something more like this:
enter image description here

If you're using Windows Forms, you can use the NumericUpDown control.

If you're using WPF, this question has several options listed.

Community
  • 1
  • 1
Donut
  • 110,061
  • 20
  • 134
  • 146