Hi!!
I am building an application using VB .NET and i'm using ajax toolkit too
My problem is i want to restrict user not to enter text as that text box will be filled with calender extender selected date
Plz help
Thanx
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jeevan AgarwalPosted Feb 23, 2010, 4:55 AM
My requirement is the text box should be filled with selected date in calender only, user could not enter anything else
i m inclluding the code file
jonathanPosted Feb 23, 2010, 4:41 AM
You can just set the text box property to readonly.
Regards...
regorPosted Feb 23, 2010, 4:21 AM
What I think you need is to set the ReadOnly to True. Again you can do this under the textbox properties or you can set it under the ajax like this:
<asp:TextBox ID="TextBox1" runat="server" ReadOnly="True" Width="249px">asp:TextBox>