Can someone tell me how i can make a value in a textbox be the current value plus a decimal and two zeros ALWAYS. Even if they put 4.5, i want to be 4.50 and if they just put 4, i want it to be 4.00. Any help will be greatly appreciated. Thankx Cube
I would say you'd want to use client side javascript for this...other wise there is a formatcurrenct function within vb that you could use...if it's on a postback...
Add first to the for TextBox2 control.
Then Add the following event TextBox2 . This is going to fire when the text is changed.
Same thing you can do with javascript.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.