Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 21, 2012 09:32 AM by avinash_bhudke
Contributor
2881 Points
517 Posts
Dec 18, 2012 07:51 AM|LINK
Hi,
We are using MaskedEdit control from AjaxToolkit.
We have a requirement of making this control ReadOnly from javascript.
I tried setting readOnly attribute of text box from javascript but it doesn't work.For normal text box without mask it works.
I need to achieve this using javascript only ,after page is fully rendered.
Also i dont want to disable text box because of its styling.
Any help will be appreciated.
3832 Points
651 Posts
Dec 18, 2012 07:55 AM|LINK
Please refer
http://forums.asp.net/t/1451160.aspx/1
All-Star
65619 Points
11118 Posts
Dec 19, 2012 03:01 AM|LINK
Please refer to this thread you post: http://forums.asp.net/p/1428675/3203376.aspx#3203376
Dec 21, 2012 09:32 AM|LINK
For making masked edit text box readonly we need to first disable masked edit behaviour.
avinash_bhud...
Contributor
2881 Points
517 Posts
MaskedEdit ReadOnly from javascript
Dec 18, 2012 07:51 AM|LINK
Hi,
We are using MaskedEdit control from AjaxToolkit.
We have a requirement of making this control ReadOnly from javascript.
I tried setting readOnly attribute of text box from javascript but it doesn't work.For normal text box without mask it works.
I need to achieve this using javascript only ,after page is fully rendered.
Also i dont want to disable text box because of its styling.
Any help will be appreciated.
senthilwaits
Contributor
3832 Points
651 Posts
Re: MaskedEdit ReadOnly from javascript
Dec 18, 2012 07:55 AM|LINK
Please refer
http://forums.asp.net/t/1451160.aspx/1
Senthil Kumar Sundaram
chetan.sarod...
All-Star
65619 Points
11118 Posts
Re: MaskedEdit ReadOnly from javascript
Dec 19, 2012 03:01 AM|LINK
Please refer to this thread you post: http://forums.asp.net/p/1428675/3203376.aspx#3203376
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
avinash_bhud...
Contributor
2881 Points
517 Posts
Re: MaskedEdit ReadOnly from javascript
Dec 21, 2012 09:32 AM|LINK
For making masked edit text box readonly we need to first disable masked edit behaviour.