HtmlPlaceholder and resizing

5 posts, 0 answers
  1. andrew rekvils
    andrew rekvils avatar
    18 posts
    Member since:
    Dec 2005

    Posted 05 Apr 2011 Link to this post

    I am using IE9. In the simple silverlight layout below, I am having HtmlPlaceholder in a grid with the vertical gridSplitter. However, HtmlPlaceholder only resizes when its size increases, and does not resize when its size should be decreased (splitter can go right and does not go left). It does not look like there is this issue in the Firefox. Is that a known issue with IE9? How can it be fixed?

    Thank you,
    Alex

     

     

     

     

     

     

    <Grid x:Name="LayoutRoot" Background

    ="White">

     

     

     

     

     

     

     <Grid.ColumnDefinitions

    >

     

     

     

     

     

     

      <ColumnDefinition

    />

     

     

     

     

     

     

      <ColumnDefinition Width

    ="Auto"/>

     

     

     

     

     

     

     <ColumnDefinition

    />

     

     

     

     

     

     

    </Grid.ColumnDefinitions

    >

     

     

     

     

     

     

    <telerik:RadHtmlPlaceholder x:Name="HtmlPlh" Grid.Column

    ="0" SourceUrl="http://www.google.com" />

     

     

     

     

     

     

      <controls:GridSplitter Grid.Column="1" VerticalAlignment="Stretch" HorizontalAlignment="Center"      Background="Aqua" Width

    ="5"/>

     

     

     

     

     

     

    <Grid Grid.Column="2" Background

    ="Wheat">

     

     

     

     

    </Grid

    >

     

     

     

     

     

     

    </Grid

    >

     

     

     

     

     

     

  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 07 Apr 2011 Link to this post

    Hello andrew rekvils,

    We tested similar scenario and it appears that this is a bug in the RadHtmlPlaceholder. We logged this in our PITS(HTMLPlaceHolder:Does not resize correctly in IE when surrounded by GridSplitters, works fine in Chrome and Mozilla) where you will be soon able to track its status. We also updated your telerik account points. Thank you for your cooperation.

    Regards,
    Petar Mladenov
    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. asking
    asking avatar
    2 posts
    Member since:
    Sep 2011

    Posted 13 Sep 2011 Link to this post

    Hello,

    I have nearly the same problem or scenario. - my RadHtmlPlaceHolder
    can only be resized correctly when the witdth rises, but not when
    the width falls
    . (RadHtmlPlaceholder includes a GridSplitter on its left) 
    - as the attached image shows

    I'm using the latest Version of IE and I have to implement this feature on
    this browser. 

    As you've already mentioned above there should be an entry in the PITS but
    I wasn't able to find it anywhere. - the linked PITS Element leads to an empty telerik page. 
    Is there a solution to this problem with which resizing can be realized correctly?
    How can it be fixed?

    What about the topic:
    HTMLPlaceHolder:Does not resize correctly in IE when surrounded by GridSplitters, works fine in Chrome and Mozilla

    // but not in IE

    Regards,
    Asking Developer
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 15 Sep 2011 Link to this post

    Hello Asking,

    Unfortunately this issue isn't addressed yet due to the many pressing tasks in our to-do list. You can track its progress here. You can also vote for it thus increasing its priority.

    Please accept our apology for this inconvenience.

    All the best,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. christian
    christian avatar
    13 posts
    Member since:
    May 2009

    Posted 20 Sep 2011 Link to this post

    I found a way to work around the well-known resizing-problem
    that I want to share with you.

    The trick is to hide the RadHTMLPlaceHolder while the Gridsplitter
    is moving.

    You can achieve this behaviour by using the following code
    (there are two Events that trigger Hiding/Showing of the RadHTMLPlaceHolder):

    // Code in MainPage.XAML.cs
    # region HtmlPlaceHolder - resizing with gridsplitters
        private void YourVerticalGridSplitter_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            this.YourRadHtmlPlaceHolder.Visibility = Visibility.Collapsed;
        }
     
        private void YourVerticalGridSplitter_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            this.YourRadHtmlPlaceHolder.Visibility = Visibility.Visible;
        }
    #endregion
Back to Top
DevCraft banner