I have an application with a radSplitter and one of the radPane has is contentUrl set to a pdf document. It is loading correctly in the page but I get an error when I exit it. The browser used to reproduce this error is the .Net WebBrowser Component of a winform application. Here is the code of those application :
A simple winform application :
I have attached the error message I get (It's in french). Any idea on this error??
<%@ Page Language="VB" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="RadControlsWebApp1._Default" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
id
=
"Head1"
runat
=
"server"
>
<
title
>Éditeur d'aide en ligne</
title
>
<
style
type
=
"text/css"
>
/*
CSS qui permet au radSplitter d'occuper toute la hauteur
de la page
*/
html, body, form
{
height: 100%;
margin: 0px;
padding: 0px;
overflow: hidden;
}
</
style
>
</
head
>
<
body
>
<
form
id
=
"form2"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"ScriptManager"
runat
=
"server"
EnableTheming
=
"True"
>
</
telerik:RadScriptManager
>
<
div
id
=
"ParentDivElement"
style
=
"height: 100%;"
>
<
telerik:RadSplitter
ID
=
"splitterPage"
runat
=
"server"
Height
=
"100%"
Width
=
"100%"
Orientation
=
"Horizontal"
Skin
=
"Office2007"
>
<
telerik:RadPane
ID
=
"panePage"
runat
=
"server"
Height
=
"65%"
ContentUrl
=
"http://localhost:80/doc.pdf"
>
</
telerik:RadPane
>
<
telerik:radsplitbar
ID
=
"RadsplitbarTop"
runat
=
"server"
/>
<
telerik:RadPane
ID
=
"paneEditor"
runat
=
"server"
height
=
"35%"
>
</
telerik:RadPane
>
</
telerik:RadSplitter
>
</
div
>
</
form
>
</
body
>
</
html
>
A simple winform application :
Public
Class
frmSimpleWinApp
Private
Sub
frmEditeurAideLigne_Load(
ByVal
sender
As
System.
Object
,
ByVal
e
As
System.EventArgs)
Handles
MyBase
.Load
webbrowser1.Navigate(
"http://localhost:49646/Default.aspx"
)
Me
.WindowState = FormWindowState.Maximized
End
Sub
End
Class
I have attached the error message I get (It's in french). Any idea on this error??