Skip to main content

Microsoft Silverlight

Answered Question How to Disable TextboxRSS Feed

(0)

goldenguy
goldenguy

Member

Member

8 points

10 Posts

How to Disable Textbox

hi,

i had one radiobutton ,text box  and datepicker(silverlight2.0) controls in my silverlight application. i want to disable textbox and datepicker when i  checked the radiobutton .but i didn't find Isdisable property  for textbox or datepicker, isdisable property only in button control.how to disable textbox and datpicker. plz let me know

thank you

 

Jim Mangaly
Jim Mangaly

Contributor

Contributor

2610 points

380 Posts

Answered Question

Re: How to Disable Textbox

The IsEnabled property is not present. You could choose one of the two options:

1) Set the Visibility property to Collapsed

2) Set the IsReadOnly property to true, and set the Opacity to say 0.5

Hope this helps,
Jim (http://jimmangaly.blogspot.com/)

Please MARK the replies as answers if they answered your question

http://www.identitymine.com/

sladapter
sladapter

All-Star

All-Star

17439 points

3,172 Posts

Re: How to Disable Textbox

WatermarkedTextBox has IsEnabled property.

TextBox has IsReadOnly property.

 

sladapter
Software Engineer
Aprimo, Inc

Please remember to mark the replies as answers if they answered your question

GearWorld
GearWorld

Participant

Participant

838 points

1,099 Posts

Re: How to Disable Textbox

MISTAKE.  SORRY

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities