This is a migrated thread and some comments may be shown as answers.

HTML Placeholder gets cut off in browser

4 Answers 62 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
Darren Stoppler
Top achievements
Rank 1
Darren Stoppler asked on 01 Jun 2010, 10:30 PM
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.

4 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 07 Jun 2010, 09:43 AM
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.
0
Darren Stoppler
Top achievements
Rank 1
answered on 10 Jun 2010, 02:08 AM
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

0
Valentin.Stoychev
Telerik team
answered on 15 Jun 2010, 07:53 AM
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.
0
Darren Stoppler
Top achievements
Rank 1
answered on 15 Jun 2010, 01:10 PM
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
Tags
HTMLPlaceHolder
Asked by
Darren Stoppler
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Darren Stoppler
Top achievements
Rank 1
Share this question
or