htmlplaceholder on a radwindow

5 posts, 0 answers
  1. nowell
    nowell avatar
    3 posts
    Member since:
    Aug 2010

    Posted 18 Aug 2010 Link to this post

    Hi:
    I placed a htmlpalceholder radwindow in, radwindow high and wide, I set to 800,
    I placed a htmlplaceholder on a radwindow,and I set the height and width of radwindow to 800,it shows ok,but when I  scoll
    the window to bottom,the htmlplaceholder does not move with the window,and displays strange,the problems can be seen in the attach files
    It's my XAML code
     <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <StackPanel Orientation="Vertical" HorizontalAlignment="Left" Visibility="Visible">
                <TextBlock Text="Select Department"/>
                <tkinput:RadComboBox x:Name="DeptCombx" Width="100" Height="auto" VerticalAlignment="Top"/>
                <Image Source="/A4PM.StationQuery;component/images/pic1.png" Height="77" Width="85"/>
                <TextBlock Text="概述"/>
                <Image Source="/A4PM.StationQuery;component/images/pic1.png" Height="77" Width="85"/>
                <TextBlock Text="工艺流程图"/>
                <Image Source="/A4PM.StationQuery;component/images/pic1.png" Height="77" Width="85"/>
                <TextBlock Text="设备台帐"/>
                <Image Source="/A4PM.StationQuery;component/images/pic1.png" Height="77" Width="85"/>
                <TextBlock Text="HSE信息"/>
                <Image Source="/A4PM.StationQuery;component/images/pic1.png" Height="77" Width="85"/>
                <TextBlock Text="城市简介"/>
            </StackPanel>
            <Grid Grid.Column="1">
                    <tkinput:RadHtmlPlaceholder Grid.Column="1" x:Name="htmlholder" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RespectSilverlightLayoutMeasure="True"/>
            </Grid>
        </Grid>
                                                                                                                                                          thanks


  2. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 23 Aug 2010 Link to this post

    Hello nowell,

    I tried to reproduce your issue. Could you please examine the attached sample project and modify it to fit your requirements, because I am not getting such behavior?

    On a side note, I'd like to inform you that we've just released an online tool that allows you to reduce the size of your Silverlight applications. For more information, please visit http://blogs.telerik.com/blogs/posts/10-06-10/telerik_assembly_minifier.aspx

    Sincerely yours,
    Viktor Tsvetkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. nowell
    nowell avatar
    3 posts
    Member since:
    Aug 2010

    Posted 23 Aug 2010 Link to this post

    Thank you for your answer
    my problem has been resolved, the reason of this problem is that my aspx page and htmlplaceholder all have scoll bar,and When I scolled the bar of htmlplaceholder,the bar of aspx scolled too,so the problem I have mentioned was appeared,
    . So I set the scoll bar of aspx unvisible,the problem don't appear forever. Thanks.
  5. jlo
    jlo avatar
    1 posts
    Member since:
    Sep 2010

    Posted 21 Sep 2010 Link to this post

    Hello,

    I have similar problem, when the outer window (not the rad window i.e., main window had a child window which is a rad window and that in rad window in turn contains a place holder)  is scrolled the place holder inside the rad window is not being moved from its position.

     

     

    Below is the code snippet.
    Xaml
    --------------------
    <
    Grid x:Name="LayoutRoot" Background="White">

     

     

     

     

     

    <telerikNavigation:RadWindow Name="RadWindow1" PinMode="NoPin" VerticalAlignment="Bottom" HorizontalAlignment="Left"

     

    ResizeMode="CanResize" Closed="RadWindow_Closed"

     

    CanClose="True" CloseMode="Hide" CanMove="True"

     

    LocationChanged="RadWindow_LocationChanged"

     

    Template="{StaticResource RadWindow_ControlTemplate}" >

     

     

     

     

     

    <Border BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Right" VerticalAlignment="Top">

     

     

    <controls:RadHtmlPlaceholder VerticalAlignment="Stretch" HorizontalAlignment="Stretch" x:Name="RadHtmlPlaceholder1" ></controls:RadHtmlPlaceholder  

     

     

     

    </Border>

     

     

     

     

     

    </telerikNavigation:RadWindow>

     

     

     

     

     

     

     

    </Grid>

    xaml.cs
    ------
    on Load event I have

     

     

    RadHtmlPlaceholder1.SourceUrl = vm.HelpURI;

     

     

    on VM
    ----------

     

    private

     

     

     

    Uri helpUri;

     

     

     

     

    public Uri HelpURI

     

    {

     

     

     

    get
    {

     

     

     

     

    return helpUri;

     

    }

     

     

     

    set {

    helpUri =

     

    value;

     

     

    PropertyChangedHandler(

     

     

    "HelpURI");

     

    }

    }

     

     

     

    HelpURI = new Uri("http://www.google.com");


    Any help would be appreciated.

     

     

  6. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 22 Sep 2010 Link to this post

    Hello jlo,

    Unfortunately I was not able to reproduce your issue. Could you please send me your sample project, so I will be able to better assist you?

    Sincerely yours,
    Viktor Tsvetkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
DevCraft banner