Skip to main content
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit WatermarkedTextbox in Silverlight 2 Beta 2
16 replies. Latest Post by Kathykam on June 24, 2008.
(1)
tomhat
Member
22 points
13 Posts
06-07-2008 10:56 PM |
So uh, why was Watermarked Textbox removed?
VanSlater
8 points
5 Posts
06-08-2008 1:49 AM |
I agree with tomhat. Will there be a way in RTM to mimic this functionality?
Deepak V...
54 points
06-08-2008 2:59 PM |
Try out using http://www.codeproject.com/KB/silverlight/STextBox.aspx
CraigN
352 points
89 Posts
06-09-2008 8:15 AM |
I'm trying to see if I can get the beta 1 source code for the WatermarkedTextBox to compile under Silverlight 2 beta 2. So far I can get it to compile with minor changes but its failing under Expression Blend when I try use it. Will dig deeper though.
CleverCoder
203 points
157 Posts
06-09-2008 1:28 PM |
That link is nice, and I've modified the code to fix the popup not appearing over other items (for the popup list box)... but.. now it's broken again and that code doesn't seem to be updated for Beta 2. Deepak, are you planning on updating the project any for Beta 2 or to fix some of the found issues?? (Mainly the Z-order issue of the popup list)
At this point, STextBox is more of a tease than something useful (for those of us who are too busy to take the code apart)
Cheers~!
06-09-2008 1:36 PM |
Ok I've managed to get the WatermarkedTextBox to work under Silverlight 2 beta 2. Anyone else interested in it?
eric_del...
181 points
43 Posts
06-09-2008 2:29 PM |
06-09-2008 2:38 PM |
Before I post the code, are they any legal people around that know if I'm allowed to post the modified code?
06-09-2008 10:49 PM |
What does the EULA say :). I don't think that there would be an issue, but I think a Microsoft Employee should weigh in.
noluckmu...
16 points
15 Posts
06-09-2008 11:03 PM |
I could sure use it. I never really understood why it was a separate control in the first place...why not just have a Watermark property on a regular text box?
mhaggag
308 points
59 Posts
06-09-2008 11:36 PM |
noluckmurphy: I could sure use it. I never really understood why it was a separate control in the first place...why not just have a Watermark property on a regular text box?
That's why it was removed --it doesn't make sense to have it as a separate control. I'll look into whether we'll be shipping one in RTM or not and get back to you.
You can use the one from beta 1--we provided the source so people can use it.
[The forum software double-posted the reply]
Magikos
222 points
144 Posts
06-10-2008 12:34 PM |
So... Post the code already! ;-)
06-10-2008 12:59 PM |
Post a patch. :)
06-10-2008 1:00 PM |
Can we get another beta soon? Something that has fewer bugs and quirks than it's predecessor... or, is "RTM" the next release..? I hope not. If it is, whats the time frame?
06-10-2008 4:19 PM |
By popular demand, please find my upgrade to the WatermarkedTextBox control on my blog over here (http://craign.net/2008/06/10/watermarkedtextbox-control-for-silverlight-2-beta-2/).
Kathykam
21 points
14 Posts
06-24-2008 4:50 PM |
Hello,
I have posted the source code & unit test for SL 2 Beta 2 of WatermarkedTextBox that was shipped in Beta 1.
http://blogs.msdn.com/kathykam/archive/2008/06/23/watermarkedtextbox-for-silverlight-2-beta-2.aspx
Thanks,Kathy Kam (Program Manager, Silverlight Controls, Microsoft)