I am using Radhtmlplace holder and it is working fine, but once visit Radhtmlplaceholder view and navigate to another view, the html page not hide, it always show top on the view.
Please let me know, how to handle hide the Radhtmlplaceholder, it is urgent.
3 Answers, 1 is accepted
answered on 28 Nov 2012, 12:21 PM
The RadHrtmlPlaceholder control displays external pages in an IFrame object that is positioned on top of the SIlverlight plug-in. This means that the page displayed in the HtmlPlaceholder is displayed above all other Silverlight content in your application.
I believe that this is the reason you're experiencing the described issue in your project. In order to workaround it, you can collapse the RadHtmlPlacehoder before navigating away from its view and displaying it back (setting its Visibility back to Visible) once its view is navigated back to.
In our application we can navigate to another application / xap also possible, hence we do not have any control on navigating, so that only we are not able to visibility / collapsed the htmlplaceholder.
Is there any unload or any other events is there in control itself, for control visibliity?
answered on 30 Nov 2012, 01:27 PM
I am not sure how you implement your navigation logic, but you can try the RadHtmlPlaceholderLoaded/Unloaded event or the UserControl Loaded/Unloaded events to show/collapse the control.