Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi frnds,

am working on asp.net c#


I have a textbox to select the date from ajax calendar.

Only user can select from the ajax calendar...he cannot enter the date in textbox using keyboard.
Just he should select from Ajax calendar.

Note: I want to restrict the user to select from ajax calendar.

Please could you help me.

Thanks
Posted
Comments
KaushalJB 22-May-14 5:57am    
This
Note: I want to restrict the user to select from ajax calendar.
is opposite to your second sentence...be specific
Vedangi 22-May-14 5:59am    
If you do not want user to enter date in textbox drectly,You can make textbox read only or disable to avoid User Entry

1 solution

 
Share this answer
 
Comments
Software Engineer 892 22-May-14 6:07am    
sir, if i set read only to true....it is not inserting in database table

this is my code in page load

TxtJoiningDate.ReadOnly = true;

Please help.
Thanks
KaushalJB 23-May-14 6:07am    
Post your code !!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900