c# - Prevent users from modifying date in textbox -


In this I have a textbox with a calendar icon when the icon is clicked on a popup form, the calendar control is displayed I have installed it, where they can only select the end date (Saturday) of the week and that date is displayed in the textbox.

I want to prevent users from editing text boxes. I have tried to use readable and capable properties but that does not work.

How can I keep users from modifying the date in the text box?

(I use the Net Time Tracker Starter Kit template for the site)

can call blur () in onfocus event:

  & asp: text box onfocus = "blur ();" ... />  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -