Frank Wanicka
Top achievements
Rank 1
Frank Wanicka
asked on 14 Jul 2010, 09:21 PM
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.
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.
8 Answers, 1 is accepted
0
Frank Wanicka
Top achievements
Rank 1
answered on 14 Jul 2010, 09:36 PM
Here is the XAML:
<
nav:RadWindow
x:Class
=
"Test.ReportViewer"
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");
}
}
}
0
Frank Wanicka
Top achievements
Rank 1
answered on 14 Jul 2010, 09:54 PM
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.
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.
0
Terry Nederveld
Top achievements
Rank 2
answered on 14 Jul 2010, 10:38 PM
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
Thanks, Terry
0
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
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
0
MarkBr
Top achievements
Rank 2
answered on 03 Dec 2010, 08:46 AM
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.
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.
0
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
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
0
oura
Top achievements
Rank 1
answered on 10 Dec 2010, 11:25 AM
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
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
0
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
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