Thanks for that.
all i want to do is to mask the values in the textbox, i
don't need to validate the values. i am looking for a
solution like in a Datagrid where you can use
Databinder.Eval
text='<%# DataBinder.Eval
(Container.DataItem, "DebBetrag", "{0:#,##0.00}") %>'
this is a valid syntax, but nothing happens with the
statement below.
txtBudget.Text.Format("#,##0.00", txtBudget)
what is wrong here?
Regards,
Rene
-----Original Message-----
Try using a RegularExpressionValidator. It'll require
the roundtrip, butit's easy to do without any code.
"Rene Fehr" <re*******@netradox.com> wrote in message
news:0c****************************@phx.gbl... Hi all
i need to format a simple textbox in a webform. i
already know how to align for example text (style="text-align:
right;") now i need a numeric format for the textbox as
like
"#,##0.00". does anybody know how to do that? either
with code behing or in HTML?
thank you in advance
Rene
.