I have seen an example of getting and setting the position of the ScrollViewer control. How do we Get and Set the position of each ScrollViewer bar within the RadHtmlPlaceHolder? Any guidance is appreciated.
1 Answer, 1 is accepted
answered on 23 Jan 2012, 03:11 PM
The RadHtmlPlaceholder places its content in a div (if the RadHtmlPlaceholder.HtmlSource is set) or in an IFrame (if the RadHtmlPlaceholder.SourceUrl is set) on the html/aspx page hosting the Silverlight plug-in. This is why you can control the scroll bars in the RadHtmlPlaceholder either by setting the overflow properties applied to the html/aspx page elements or by controlling the IFrame scrolling attribute.
Basically when you display an external page in the RadHtmlPlaceholder, you can access the content of the IFrame object like so: