Wednesday, September 26, 2012

inner height of browser at client side in silverlight

inner height of browser at client side in silverlight

I have silver light application.i want inner height of browser, i got it while running in localHost but when i am deploying it then it would give me error like.

object references not set to an instances of object

I have used following code to get the inner height of browser.

following code resides at client side.i have set the resolution at server side.

HtmlPage.Window.GetProperty("innerHeight"); 

Answers & Comments...

Answer: 1

I suppose that Application.Current.MainWindow should help you in Out-of-Browser Application.

And good article about Out-of-Browser Application may be useful for you.

by : AlexThttp://stackoverflow.com/users/1032426




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog