textbox

  • Thread starter Thread starter yoramo
  • Start date Start date
Y

yoramo

hello

I need a text box the enables input numbers from right to left. does any
know of such a control?

yoramo.
 
You can achieve this through css:
Put the following between the <HEAD></HEAD> tags in your html view. ( or use
a style sheet )
<style>
..sample {text-align: right;}
</style>

In the designer, assign the textbox's "CssClass" = sample;
You should be good to go.

David Young
 
thats not what i need.
i need to be able to key in numbers from right to left.
example: "123" should be key in '3','2','1'
 
Ok...you want to reverse the order in which the values are typed in?

Let me chew on that a little and I'll get back with you.

David Young
 
You may need to create a custom textbox that does some JavaScript
manipulation on the client side. Handling the key events and adding the new
keystroke to the beginning of the existing string. Not being a guru at
JavaScript I can't give you details, but the concept should hold.

--- Jim ---
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

WebForm Template 2
security problem 1
event order 2
display images without having them on the disk? 5
How to place User controls in a Page template? 1
again page events 1
where is OnCommandUI 4
Control Handler 2

Back
Top