Skip to main content

Microsoft Silverlight

Answered Question WatermarkedTextbox in Silverlight 2 Beta 2RSS Feed

(1)

tomhat
tomhat

Member

Member

22 points

13 Posts

WatermarkedTextbox in Silverlight 2 Beta 2

So uh, why was Watermarked Textbox removed? 

VanSlater
VanSlater

Member

Member

8 points

5 Posts

Re: WatermarkedTextbox in Silverlight 2 Beta 2

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

Deepak Verma
Deepak V...

Member

Member

54 points

13 Posts

Microsoft
Answered Question

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

CraigN
CraigN

Member

Member

352 points

89 Posts

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

CleverCoder
CleverCoder

Member

Member

203 points

157 Posts

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

CraigN
CraigN

Member

Member

352 points

89 Posts

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

eric_delahaye@hotmail.com
eric_del...

Member

Member

181 points

43 Posts

Re: WatermarkedTextbox in Silverlight 2 Beta 2

Yes, I am concerned

EriC#

CraigN
CraigN

Member

Member

352 points

89 Posts

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

VanSlater
VanSlater

Member

Member

8 points

5 Posts

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.

noluckmurphy
noluckmu...

Member

Member

16 points

15 Posts

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?

mhaggag
mhaggag

Member

Member

308 points

59 Posts

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.
SDE, Silverlight (Text feature team)

mhaggag
mhaggag

Member

Member

308 points

59 Posts

Re: WatermarkedTextbox in Silverlight 2 Beta 2

[The forum software double-posted the reply]

Muhammad Haggag.
SDE, Silverlight (Text feature team)

Magikos
Magikos

Member

Member

222 points

144 Posts

Re: WatermarkedTextbox in Silverlight 2 Beta 2

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

CleverCoder
CleverCoder

Member

Member

203 points

157 Posts

Re: Re: WatermarkedTextbox in Silverlight 2 Beta 2

 Post a patch. :)

CleverCoder
CleverCoder

Member

Member

203 points

157 Posts

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?

CraigN
CraigN

Member

Member

352 points

89 Posts

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

Kathykam
Kathykam

Member

Member

21 points

14 Posts

Microsoft

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 ***
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities