RadHtmlPlaceholder floating content horizontally above Silverlight.

3 posts, 0 answers
  1. Reuben
    Reuben avatar
    17 posts
    Member since:
    Apr 2009

    Posted 14 Sep 2009 Link to this post

    <Grid x:Name="LayoutRoot" Background="White">  
            <Grid.RowDefinitions> 
                <RowDefinition Height="Auto"/>  
            </Grid.RowDefinitions> 
     
            <StackPanel Orientation="Horizontal">  
                <telerik:RadHtmlPlaceholder   
                    RespectSilverlightLayoutMeasure="True" 
                    VerticalAlignment="Top" 
                    HorizontalAlignment="Left" 
                    x:Name="RadHtmlPlaceholder1"   
                    Height="700" 
                    Width="797" 
                    SourceUrl="http://localhost/programs/Article.aspx"/>  
            </StackPanel> 
        </Grid> 

    Hello,

    We're using 2009.2.701 release (silverlight 2 dlls).  IE7.

    When using the RadHtmlPlaceholder control, if we put a Source URL - the content loads appropriately within silverlight.  If we resize the browser vertically, the Html content sticks in the right spot and does not scroll with the browser.  If we resize the browser horizontally, the Html content is incorrectly staying in its spot and floats above silverlight and the Html content.

    Example:
    http://img180.imageshack.us/img180/2306/slider.jpg

    Resizing the browser horizontally has moved the HtmlContent out of the silverlight region (it started out left aligned under "Programs").

    Any ideas?

    Thanks,
    Reuben
  2. Reuben
    Reuben avatar
    17 posts
    Member since:
    Apr 2009

    Posted 14 Sep 2009 Link to this post

    I may be speaking too soon, but if I call InvalidateArrange on the RadHtmlPlaceholder from the parent control on its LayoutUpdated event, it seems to be fixing the horizontal alignment issue.
  3. DevCraft banner
  4. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 17 Sep 2009 Link to this post

    Hello Reuben,

    Can you open a support ticket and send us a complete page where this can be reproduced.

    Sincerely yours,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top