Skip to main content

Microsoft Silverlight

Answered Question watermarkedtextboxRSS Feed

(0)

TheRekz
TheRekz

Member

Member

4 points

40 Posts

watermarkedtextbox

I am really a noob in Silverlight and was just following scott's gutherie tutorial. In his tutorial he was using termarkedtextbox. However when trying to type watermarkedtextbox, my visual studio gives me that error that it can't find watermarkedtextbox. How do I deal with this?

siger
siger

Member

Member

33 points

24 Posts

Re: watermarkedtextbox

I think I read somewhere that this control was removed from the final release of SL 2.

TheRekz
TheRekz

Member

Member

4 points

40 Posts

Re: watermarkedtextbox

Oh really? Is there a way to get it back? If that's the case then scott gu's tutorial should update this

siger
siger

Member

Member

33 points

24 Posts

Answered Question

Re: Re: watermarkedtextbox

 Here's what I found by searching for 'silverlight watermarkedtextbox' :

http://timheuer.com/blog/archive/2008/10/22/silverlight-watermark-text-box-control.aspx

There's an explanation of why the control is not here anymore, and the source code to make your own :)

TheRekz
TheRekz

Member

Member

4 points

40 Posts

Re: Re: watermarkedtextbox

I've already downloaded the source code and now how do I apply the source code so that I can use this watermark text box?

codeblock
codeblock

Contributor

Contributor

4060 points

716 Posts

Silverlight MVP

Re: Re: Re: watermarkedtextbox

Simply compile the project and reference the output assembly. Then using a "xmlns" in your markup reference the Control.

HTH 

If this answers your question, please "mark it as answer"

--
Andrea Boschin
MVP Silverlight & Silverlight Insider
, Me on Twitter

TheRekz
TheRekz

Member

Member

4 points

40 Posts

Re: Re: Re: Re: watermarkedtextbox

Thanks I got it working now

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities