javascript errors on (and other web sites)

4 posts, 0 answers
  1. arthurd
    arthurd avatar
    18 posts
    Member since:
    Aug 2007

    Posted 06 Aug 2010 Link to this post

    I am trying a simple example of loading in the html placeholder (which is inside a tile view item). I am using Q2 2010 release.

    I am always getting error from the bing javascript in function sj_be(_d, "keydown".......

    At first I thought if was a generic problem with Bing in iframe but I tried it using the iframe demo at and it worked without error messages.

    I get the IE dialog about debugging and if I ignore the error, everything seems to work correctly from that point on.

    I have also had javascript errors on Google but they are not as easily reproducable as on bing. I can use other URLs just fine. Seems to be related to certain site javascript incompatibility.

    Any ideas?
  2. arthurd
    arthurd avatar
    18 posts
    Member since:
    Aug 2007

    Posted 06 Aug 2010 Link to this post

    I forgot another detail that might be relevant.

    The html placeholder is in a tile view item but I am using a transition to swap in/out the pages of tile view.

    I will try to simplify my test by removing use of transition.

    If that works then I will need a way to monitor when the transition is complete and only set the Url in my view model (bound to the SourceUrl) when the transition is complete.
  3. DevCraft R3 2016 release webinar banner
  4. arthurd
    arthurd avatar
    18 posts
    Member since:
    Aug 2007

    Posted 07 Aug 2010 Link to this post

    To simplify my test (to eliminate tile view item or transition as problem area), I built a new Silveright 4 project with Telerik Q2 2010. I still get javascript errors on I am using IE8.

    Here is the entire XAML.





    <UserControl x:Class="RadControlsSilverlightApp1.MainPage"
        mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" 
        <Grid x:Name="LayoutRoot">
            <telerik:RadHtmlPlaceholder HorizontalAlignment="Stretch"  VerticalAlignment="Stretch" Margin="10" SourceUrl="" />










  5. Miroslav
    Miroslav avatar
    922 posts

    Posted 11 Aug 2010 Link to this post

    Hi arthurd,

    Yes, some sites may have functionality that does not work in an iframe.

    I can see the same exception on even if I place an IFrame over the SL application. It is also present in the w3schools test page:

    It is best to show only html that you have control over.

    Also if you want to display just rich text, I can suggest using our new RadRichTextBox.

    All the best,
    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