Skip to main content

Microsoft Silverlight

Answered Question access to status bar silverlight2RSS Feed

(0)

josh100
josh100

Member

Member

50 points

86 Posts

access to status bar silverlight2

hi all,

does silverlight 2 beta 2 have got an access to write text on the status bar?

thanks. 

nahidul
nahidul

Member

Member

160 points

21 Posts

Re: access to status bar silverlight2

try this

HtmlPage.Window.SetProperty("status", "hi");

Hope this helps
Md.Nahidul Kibria
http://nahidulkibria.blogspot.com

josh100
josh100

Member

Member

50 points

86 Posts

Re: access to status bar silverlight2

hi,

it's not working...

nahidul
nahidul

Member

Member

160 points

21 Posts

Re: Re: access to status bar silverlight2

hi,

   im test it in ie7 its working fine.But in fire fox you have to check

Enable java script.and Change status bar change...

in fire fox 2.0.0.16 you will find it in tools>options>advanced..

 if not working spacify your browser version please..

 

Hope this helps
Md.Nahidul Kibria
http://nahidulkibria.blogspot.com

josh100
josh100

Member

Member

50 points

86 Posts

Re: Re: access to status bar silverlight2

strange, i have got ie7, and i see nothing

sladapter
sladapter

All-Star

All-Star

17445 points

3,173 Posts

Re: access to status bar silverlight2

HtmlPage.Window.SetProperty("defaultStatus", YourText);  

sladapter
Software Engineer
Aprimo, Inc

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

josh100
josh100

Member

Member

50 points

86 Posts

Re: access to status bar silverlight2

i don't see anything.

what can i do?

sladapter
sladapter

All-Star

All-Star

17445 points

3,173 Posts

Answered Question

Re: access to status bar silverlight2

You mean with HtmlPage.Window.SetProperty("defaultStatus", "Hollo"); you do not see anything on IE7?

I'm sure it's working on IE7. Try to put that line in Page_Loaded event or some button click event. Maybe some other process (like javascript) on your page also trying to write something on the status bar when you load the page.

HtmlPage.Window.SetProperty("defaultStatus", "Hollo"); 

is equivalent as you do in JavaScript

window.defaultStatus = "Hello";

 

sladapter
Software Engineer
Aprimo, Inc

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

nahidul
nahidul

Member

Member

160 points

21 Posts

Answered Question

Re: Re: access to status bar silverlight2

hi do this 

Open Internet Explorer, click the Tools button, click Internet Options, and then click the Security tab.
Click Internet or Restricted sites, and then click the Custom level button.
Scroll down to Allow status bar updates via script, select Enable.
Click OK until you return to Internet Explorer.

Hope this helps
Md.Nahidul Kibria
http://nahidulkibria.blogspot.com

microsoft_kc
microsof...

Contributor

Contributor

2904 points

566 Posts

Re: access to status bar silverlight2

Hi, can you check whether your status bar is visible or not?
If not, go to Tools -> Toolbars and check the statusbar.

 

Remember: Please click on "Mark As Answer", if this answered your query partially or fully.


Regards - Kunal Chowdhury | Software Developer | Chennai | India | My Blog

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities