Page view counter
WatermarkedTextbox in Silverlight 2 Beta 2 Subscribe to this thread
Last post 06-24-2008 4:50 PM by Kathykam. 16 replies.
Sort Posts:
06-07-2008 10:56 PM
WatermarkedTextbox in Silverlight 2 Beta 2

So uh, why was Watermarked Textbox removed? 

tomhat

Loading...
Joined on 04-05-2008
Salt Lake City, UT
Posts 13
06-08-2008 1:49 AM
Re: WatermarkedTextbox in Silverlight 2 Beta 2

I agree with tomhat. Will there be a way in RTM to mimic this functionality?

VanSlater

Loading...
Joined on 06-03-2008
Posts 5
06-08-2008 2:59 PM
Marked as Answer
Re: Re: WatermarkedTextbox in Silverlight 2 Beta 2

Try out using http://www.codeproject.com/KB/silverlight/STextBox.aspx

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

Deepak Verma

Loading...
Joined on 06-04-2008
US
Posts 13
06-09-2008 8:15 AM
Re: WatermarkedTextbox in Silverlight 2 Beta 2

 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.

Microsoft Xbox MVP

CraigN

Loading...
Joined on 05-11-2007
South Africa
Posts 89
06-09-2008 1:28 PM
Re: Re: Re: WatermarkedTextbox in Silverlight 2 Beta 2

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~!

CleverCoder

Loading...
Joined on 05-16-2008
Raleigh, NC, US
Posts 157
06-09-2008 1:36 PM
Re: WatermarkedTextbox in Silverlight 2 Beta 2

 Ok I've managed to get the WatermarkedTextBox to work under Silverlight 2 beta 2. Anyone else interested in it?

Microsoft Xbox MVP

CraigN

Loading...
Joined on 05-11-2007
South Africa
Posts 89
06-09-2008 2:29 PM
Re: WatermarkedTextbox in Silverlight 2 Beta 2
Yes, I am concerned

EriC#

Eric_delahaye@hotmail.com

Loading...
Joined on 11-12-2007
Buenos Aires - Argentina
Posts 43
06-09-2008 2:38 PM
Re: WatermarkedTextbox in Silverlight 2 Beta 2
Before I post the code, are they any legal people around that know if I'm allowed to post the modified code?

Microsoft Xbox MVP

CraigN

Loading...
Joined on 05-11-2007
South Africa
Posts 89
06-09-2008 10:49 PM
Re: WatermarkedTextbox in Silverlight 2 Beta 2

What does the EULA say :). I don't think that there would be an issue, but I think a Microsoft Employee should weigh in.

VanSlater

Loading...
Joined on 06-03-2008
Posts 5
06-09-2008 11:03 PM
Re: WatermarkedTextbox in Silverlight 2 Beta 2

 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?

noluckmurphy

Loading...
Joined on 06-10-2008
Posts 15
06-09-2008 11:36 PM
Re: WatermarkedTextbox in Silverlight 2 Beta 2

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 Smile--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.

Muhammad Haggag

mhaggag

Loading...
Joined on 03-09-2008
Bellevue, WA
Posts 54
06-09-2008 11:36 PM
Re: WatermarkedTextbox in Silverlight 2 Beta 2

[The forum software double-posted the reply]

Muhammad Haggag

mhaggag

Loading...
Joined on 03-09-2008
Bellevue, WA
Posts 54
06-10-2008 12:34 PM
Re: WatermarkedTextbox in Silverlight 2 Beta 2

So...  Post the code already!  ;-)

Magikos

Loading...
Joined on 11-23-2007
Memphis, TN
Posts 122
06-10-2008 12:59 PM
Re: Re: WatermarkedTextbox in Silverlight 2 Beta 2

 Post a patch. :)

CleverCoder

Loading...
Joined on 05-16-2008
Raleigh, NC, US
Posts 157
06-10-2008 1:00 PM
Re: Re: WatermarkedTextbox in Silverlight 2 Beta 2

 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?

CleverCoder

Loading...
Joined on 05-16-2008
Raleigh, NC, US
Posts 157
06-10-2008 4:19 PM
Re: Re: WatermarkedTextbox in Silverlight 2 Beta 2

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/).

Microsoft Xbox MVP

CraigN

Loading...
Joined on 05-11-2007
South Africa
Posts 89
06-24-2008 4:50 PM
Re: Re: WatermarkedTextbox in Silverlight 2 Beta 2

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)

Kathy Kam
Program Manager | Microsoft
http://blogs.msdn.com/kathykam
***This posting is provided "AS IS" with no warranties, and confers no rights ***

Kathykam

Loading...
Joined on 03-11-2008
Posts 14
Microsoft Communities