Mask textbox for accepting date

i have a asp.net text box in the page

i want to mask the textbox for accepting date in dd/MM/yyyy format using javascript
using the maskedit control in jax i am ble to do it at design time
but not in javascript

Hello svibuk, try doing this:

Dim myDate As Date = Now

TextBox1.Text = Format(myDate, "MM/dd/yyyy")

Vincentas

I am not 100% clear if you saying that you cannot do it with javascript due to user restrictions or if you are just not able to? But if you can use JS. I would suggest using a jquery input mask. Check out: