HTMLPlace Holder broken in OOB in new release

9 posts, 0 answers
  1. Frank Wanicka
    Frank Wanicka avatar
    4 posts
    Member since:
    Jan 2006

    Posted 14 Jul 2010 Link to this post

    I just upgraded to Q2 2010. I have a RadWindow with an HTMLPlaceholder inside it. In OOB, it worked fine previously. Now, I get the following error:

    The DOM/scripting bridge is disabled.

    It appears it is trying to talk to the browser (which doesn't exist). What is ironic is that in the realease notes, it states OOB support was added. Please advise.
  2. Frank Wanicka
    Frank Wanicka avatar
    4 posts
    Member since:
    Jan 2006

    Posted 14 Jul 2010 Link to this post

    Here is the XAML:

    <
    nav:RadWindow x:Class="Test.ReportViewer"
                   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                   xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
                   xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
                   xmlns:nav="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
                   WindowStartupLocation="CenterScreen"
                   Width="800"
                   Height="500"
                   Header="Report Viewer">
        <Grid x:Name="LayoutRoot">
            <telerik:RadHtmlPlaceholder x:Name="htmlPlaceholder" />
        </Grid>
    </nav:RadWindow>


    Here is the code-behind:

    using System;
    using System.Collections.Generic;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Input;
      
    using Telerik.Windows.Controls;
      
    namespace Test
    {
        public partial class ReportViewer : RadWindow
        {
            public ReportViewer ()
            {
                InitializeComponent();
      
                LocationChanged += new System.Windows.RoutedEventHandler( radWindow_LocationChanged );
                Loaded += new RoutedEventHandler( ReportViewer_Loaded );
            }
      
            void radWindow_LocationChanged ( object sender, System.Windows.RoutedEventArgs e )
            {
                this.InvalidateArrange();
            }
      
            void ReportViewer_Loaded ( object sender, RoutedEventArgs e )
            {
               tmlPlaceholder.SourceUrl = new Uri( "http://whatever.com");
            }
      
        }
    }
  3. DevCraft banner
  4. Frank Wanicka
    Frank Wanicka avatar
    4 posts
    Member since:
    Jan 2006

    Posted 14 Jul 2010 Link to this post

    Some more information:

    This project was created using the RIA Services Business Application template, if that matters, and the content is a dynamically generated PDF.

    Another developer just created a new project using the Silverlight Application template in Visual Studio with one page that pops up the window using this code above, and it works both in and out of browser. So, it apparently works okay in some scenarios.

    He is the one who originally discovered this issue in a project separate from mine. That project also was created using the RIA Services Business Application template, and he is getting the same error ("The DOM/scripting bridge is disabled") when OOB.
  5. Terry Nederveld
    Terry Nederveld avatar
    4 posts
    Member since:
    Sep 2009

    Posted 14 Jul 2010 Link to this post

    It is related to the template used. I am getting the same results when I used the Silverlight Business Application template OOB. I have submitted a support ticket with a solution attached that shows both templates. Which it works in the Silverlight Application template but not in the Silverlight Business Applcation one. Will post back here when I hear anything about the support ticket I placed.

    Thanks, Terry
  6. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 15 Jul 2010 Link to this post

    Hi all,

    Thank you for reporting this! We found and fixed the problem. The fix will be available this Friday for download.

    Regards,
    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
  7. MarkBr
    MarkBr avatar
    14 posts
    Member since:
    Oct 2006

    Posted 03 Dec 2010 Link to this post

    Hi,
    Is the fix included in Version 2010.3.1119.1040 of the telerik controls?
    I am having the following error while using my application Out Of Browser, works fine inside browser:

    "the dom/scripting bridge is disabled"


    Regards,
    Mark.
  8. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 03 Dec 2010 Link to this post

    Hello Mark,

    The issue should be fixed  and we cannot reproduce the issue on our side. Therefore I wanted to ask you to try setting the EnableHtmlAccess property to true, like suggested here and let us know if that works for you.

    Greetings,
    Tina Stancheva
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  9. oura
    oura avatar
    1 posts
    Member since:
    Nov 2010

    Posted 10 Dec 2010 Link to this post

    Hello,
    I have the same problem.
    I have already set EnableHtmlAccess property to true but this does not solve the problem

    P.S : I have the latest version of Telerik

    Regards,
    Ouranos
  10. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 14 Dec 2010 Link to this post

    Hi oura,

    We still cannot reproduce the issue on our side. Can you please isolate the issue in a sample project and send it so that we can further investigate it?

    All the best,
    Tina Stancheva
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top
DevCraft banner