Skip to main content
Home Forums Silverlight Programming Report a Silverlight Bug Possibly a bug in TextBox of SLB1
2 replies. Latest Post by Yi-Lun Luo - MSFT on March 12, 2008.
(0)
sgzwkrm
Member
24 points
11 Posts
03-10-2008 8:43 AM |
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
217 points
82 Posts
03-10-2008 1:30 PM |
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 L...
All-Star
25052 points
2,747 Posts
03-12-2008 4:23 AM |
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...