This question is locked. New answers and comments are not allowed.
Hi,
I am struggling with the same old z-index issue of Iframe. I wanted to check the following:
In short, is it possible to get the screenshot of the whole page that includes a HtmlPlaceHolder?
Details:
I am trying to find a work around to fix the z-index issue of HtmlPlaceHolder found at these links:
http://www.telerik.com/community/forums/silverlight/htmlplaceholder/silverlight-menu-opens-behind-the-htmlcontentplaceholder.aspx
http://www.telerik.com/community/forums/silverlight/htmlplaceholder/timepicker-is-hiding-because-of-placeholder.aspx
A solution suggested at this link is feasible for me:
http://www.telerik.com/community/forums/silverlight/htmlplaceholder/silverlight-menu-opens-behind-the-htmlcontentplaceholder.aspx#1007503
I am using the following code to get the image:
The area for Iframe of HtmlPlaceHolder always come up blank.
I've searched for a while on different forums but without any luck.
Looking forward for your reply.
Thanks
- Haris
I am struggling with the same old z-index issue of Iframe. I wanted to check the following:
In short, is it possible to get the screenshot of the whole page that includes a HtmlPlaceHolder?
Details:
I am trying to find a work around to fix the z-index issue of HtmlPlaceHolder found at these links:
http://www.telerik.com/community/forums/silverlight/htmlplaceholder/silverlight-menu-opens-behind-the-htmlcontentplaceholder.aspx
http://www.telerik.com/community/forums/silverlight/htmlplaceholder/timepicker-is-hiding-because-of-placeholder.aspx
A solution suggested at this link is feasible for me:
http://www.telerik.com/community/forums/silverlight/htmlplaceholder/silverlight-menu-opens-behind-the-htmlcontentplaceholder.aspx#1007503
I am using the following code to get the image:
System.Windows.Media.Imaging.WriteableBitmap image =
new
WriteableBitmap(Convert.ToInt32(
this
.uxRadHtmlPlaceHolder.ActualWidth), Convert.ToInt32(
this
.uxRadHtmlPlaceHolder.ActualHeight));
image.Render(this
.
LayoutRoot,
new
MatrixTransform());
image.Invalidate();
this
.uxImage.Source = image;
The area for Iframe of HtmlPlaceHolder always come up blank.
I've searched for a while on different forums but without any luck.
Looking forward for your reply.
Thanks
- Haris