Skip to main content

Microsoft Silverlight

Answered Question Possibly a bug in TextBox of SLB1RSS Feed

(0)

sgzwkrm
sgzwkrm

Member

Member

24 points

11 Posts

Possibly a bug in TextBox of SLB1

Add a TextBox control into a Canvas's Children, then focus it( by your mouse or Tab or Focus() function ) , then remove the TextBox from the Canvas's  Children, and again add the TextBox into the Canvas's Children... Then the TextBox will give no reaction to any mouse event...

Is it an exception?

lewisb
lewisb

Member

Member

217 points

82 Posts

Re: Possibly a bug in TextBox of SLB1

I'm curious if this has to do with a naming issue.  I had a similar problem, and it seemed to be I would add a control, "text1" to a parent canvas, remove the children from the parent canvas, then try to add another control "text1" to the parent canvas which would cause an error.

This may be a bug, or it may be intended.  But just a thought for now.

Yi-Lun Luo - MSFT
Yi-Lun L...

All-Star

All-Star

25052 points

2,747 Posts

Answered Question

Re: Possibly a bug in TextBox of SLB1

Hello, there's a known issue which is similar to this problem. Thanks for reporting it. But can you please do a double check? The known issue is: After the TextBox is removed and added to the element tree, the caret will disappear. Please check if you can still type in the TextBox. In my scenario, I can't see the caret, but can still type. If you even can't type, this maybe another bug...

shanaolanxing - I'll transfer to the Windows Azure team, and will have limited time to participate in the Silverlight forum. Apologize if I don't answer your questions in time.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities