This is a migrated thread and some comments may be shown as answers.

Error when contentUrl of radPane is PDF

2 Answers 89 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Sébastien
Top achievements
Rank 1
Sébastien asked on 28 Jul 2010, 08:50 PM
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 :

<%@ 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">
 
<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??

2 Answers, 1 is accepted

Sort by
0
Sébastien
Top achievements
Rank 1
answered on 30 Jul 2010, 08:46 PM
I talked with some people about this, and they think it's a problem with adobe reader. So it's probably not due to the Teleriks controls. I'll try updating adobe and see if the error is still there.
0
Dobromir
Telerik team
answered on 02 Aug 2010, 05:42 PM
Hi Sébastien,

I tried to reproduce the reported error but to no avail. I used RadControls for ASP.NET AJAX Q2 2010 for .NET 4.0 on Windows7 64bit station with AdobreReader ver.9.20.

I did some research on the matter and it seems that it is caused by a bug in AdobeReader v.9x indeed. I came onto similar thread in Stackoverflow's forums with a solution on this problem.

I hope this helps.

All the best,
Dobromir
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
Tags
Splitter
Asked by
Sébastien
Top achievements
Rank 1
Answers by
Sébastien
Top achievements
Rank 1
Dobromir
Telerik team
Share this question
or