HTML Placeholder gets cut off in browser

5 posts, 0 answers
  1. Darren Stoppler
    Darren Stoppler avatar
    36 posts
    Member since:
    Apr 2010

    Posted 01 Jun 2010 Link to this post

    I have created a radwindow with 1024 x 768 dimensions.  I then set the content to the HTML placeholder.

    Everything looks good OOB but not in the Browser.

    Are there any known problems?

    Thanks.
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 07 Jun 2010 Link to this post

    Hi Darren Stoppler,

    I re-created the simple scenario, but everything was ok on our end. Is there anything specific? Are you setting widht/height of the RadHtmlPlaceholder.

    Here is the code that I used:
    <UserControl x:Class="CoreApp_Ag.MainPage"
                 xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
                 xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
        mc:Ignorable="d"
        d:DesignHeight="300" d:DesignWidth="400">
      
        <Grid x:Name="LayoutRoot" Background="Green">
            <telerikNavigation:RadWindow x:Name="RadWindow1" Width="1024" Height="768" Loaded="RadWindow_Loaded">
            <telerik:RadHtmlPlaceholder x:Name="RadHtmlPlaceholder1" SourceUrl="http://bestbuy.com"/>
            </telerikNavigation:RadWindow>
        </Grid>
    </UserControl>

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Net;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Documents;
    using System.Windows.Input;
    using System.Windows.Media;
    using System.Windows.Media.Animation;
    using System.Windows.Shapes;
      
    namespace CoreApp_Ag
    {
        public partial class MainPage : UserControl
        {
            public MainPage()
            {
                InitializeComponent();
            }
      
            private void RadWindow_Loaded(object sender, RoutedEventArgs e)
            {
                RadWindow1.Show();
            }
        }
    }

    Greetings,
    Valentin.Stoychev
    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. Darren Stoppler
    Darren Stoppler avatar
    36 posts
    Member since:
    Apr 2010

    Posted 09 Jun 2010 Link to this post

    Thanks Valentin,

    I experienced a lot of different problems with the HTML Placeholder which made it unworkable for me.

    I have now changed over to the native WebBrowser control as that seems to work and is consistent.  It's not great that it only works OOB but it seems to be reliable.

    Thanks

  5. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 15 Jun 2010 Link to this post

    Hello Darren Stoppler,

    Can you tell us what problems you experience and how can we improve the control. Thanks a lot for your time!

    All the best,
    Valentin.Stoychev
    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.
  6. Darren Stoppler
    Darren Stoppler avatar
    36 posts
    Member since:
    Apr 2010

    Posted 15 Jun 2010 Link to this post

    Hi Valentin,

    The main problem is what I mentioned at the start that the control gets chopped off in Browser (see attachments).  Since I put the Q2 beta, OOB seems ok and consistent with one modal window but in browser doesn't work.

    In OOB, if you don't have the RadWindow as modal, the content is messed up (screen mess.jpg).  If you open a second RadWindow hosting the control, your whole application becomes a white screen with no controls at all.

    Thanks
Back to Top
DevCraft banner