This question is locked. New answers and comments are not allowed.
Hi All,
I tried to use RadHtmlPlaceholder and catched this Error. However, I can use this control rightly before. I don't get the reason.
I just tried to create a simple Project only use RadHtmlPlaceholder, and still failed.
Here is some code snippet,.
I tried to use RadHtmlPlaceholder and catched this Error. However, I can use this control rightly before. I don't get the reason.
I just tried to create a simple Project only use RadHtmlPlaceholder, and still failed.
Here is some code snippet,.
<
Grid
x:Name
=
"LayoutRoot"
>
<
telerik:RadHtmlPlaceholder
Name
=
"htmlPlaceholder"
></
telerik:RadHtmlPlaceholder
>
</
Grid
>
public MainPage()
{
InitializeComponent();
this.htmlPlaceholder.SourceUrl = new Uri("http://www.google.com");
}
<
body
>
<
form
id
=
"form1"
runat
=
"server"
style
=
"height:100%"
>
<
div
id
=
"silverlightControlHost"
>
<
object
data
=
"data:application/x-silverlight-2,"
type
=
"application/x-silverlight-2"
width
=
"100%"
height
=
"100%"
>
<
param
name
=
"source"
value
=
"ClientBin/RadControlsSilverlightApp2.xap"
/>
<
param
name
=
"onError"
value
=
"onSilverlightError"
/>
<
param
name
=
"background"
value
=
"white"
/>
<
param
name
=
"minRuntimeVersion"
value
=
"4.0.50826.0"
/>
<
param
name
=
"autoUpgrade"
value
=
"true"
/>
<
param
name
=
"windowless"
value
=
"true"
/>
<
a
href
=
"http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50826.0"
style
=
"text-decoration:none"
>
<
img
src
=
"http://go.microsoft.com/fwlink/?LinkId=161376"
alt
=
"Get Microsoft Silverlight"
style
=
"border-style:none"
/>
</
a
>
</
object
><
iframe
id
=
"_sl_historyFrame"
style
=
"visibility:hidden;height:0px;width:0px;border:0px"
></
iframe
></
div
>
</
form
>
</
body
>