views:

253

answers:

3

Hello All,

I tried to implement a full screen functionality in my application . Its working fine .But I added some HTML controls in my aspx file ,when i click onr fullscreen button it shows a fullscreen but not show a HTML controls( only shows a SilverlightHost UI) .

So how can I resolve it. (I have set windowless property true).

Thanks in advance, Laxmilal

+1  A: 

If I understood your problem correctly, then this behavior is normal, and that's by design; putting a Silverlight application in full screen means precisely that it will occupy all the available screen space, hiding anything else. Maybe what you need is a full-screen browser window instead (you can achieve this using Javascript, see for example here: http://www.pptools.com/ppt2html/FAQ00140.htm)

Konamiman
A: 

Thanks for answer,

It will works fine,but it will reload the silverlight application again. I want to view current state in full screen mode.

Laxmilal
@Laxmilal: This is not an answer, please use the "add comment" feature to respond to a specific answer. It may be worth your time reading the FAQ, SO is not like a forum or a newsgroup, for example answers do not always appear in the sequence they were created. In addition you can delete and edit questions and answers, progressive improvement of existing content is encouraged over just adding to a sequence of previous text
AnthonyWJones
A: 

When you use the silverlight plugin with the Windowless property set to true the silverlight application will draw on the same window as the other html contols. Hence its possible to place HTML controls on top of content presented by silverlight.

However when you put silverlight in full screen mode it is silverlight you are full screening not the browsers client window. Therefore sivlerlight needs to create a new window which it then full screens, the silverlight app then renders on to this new window. As result any HTML content is occluded.

AnthonyWJones
I have tried to update the html page text box again after Full Screen property, but it shows behind Silverlight Control. Windowsless property is true till now.
Laxmilal
I am trying this code line for Full Screen Silverlight control.Application.Current.Host.Content.IsFullScreen = ! Application.Current.Host.Content.IsFullScreen;
Laxmilal
Mucking about with the `IsFullScreen` property isn't going to help. It simply isn;t possible to properly full screen a silverlight application and continue to see the HTML controls. The best you can do is manipulate the browser window (if that is possible) to make that as large as it can be. However there is no standard way to make a browser full screen.
AnthonyWJones