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

Screen Issues in Chrome

3 Answers 59 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Frank
Top achievements
Rank 1
Frank asked on 06 Nov 2012, 03:34 PM
Having issues only with chrome. It works in all other browsers. It apears that when I open a screen with RadFileExplorer and then hit the upload button the upload screen displays properly, but when I add files in chrome parts of the screen disappear. It seems like a zored issue. I have include 2 files one is the initial the other is after I drag 2 files at one time into the uploader. If I am to drag a 3rd file then the screen grows and shows the last file loaded but hides the previous 2. When I click on the header the entire screen shows.

This is the code for the filemange on my main screen
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Style="z-index: 7001">
<Windows>
<telerik:RadWindow ID="FileManager" runat="server" Title="" Height="600px" Width="800px"
ReloadOnShow="True" Modal="True" Skin="WebBlue" VisibleStatusbar="false" ShowContentDuringLoad="false" />
</Windows>
</telerik:RadWindowManager>

this is the markup of the filemanger screen
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FileManager.aspx.cs" Inherits="ComplianceClient.MarketingScreens.FileManager" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <style type="text/css">
         #<%=RadFileExplorer1.ClientID%>_uploadContainer
         {
             overflow-x: hidden !important;
         }
     </style>
</telerik:RadCodeBlock>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div>
        <asp:Literal ID="lblScript" runat="server"></asp:Literal>
        <asp:Label ID="lblErrorMessage" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
        <telerik:RadFileExplorer ID="RadFileExplorer1" runat="server" Skin="WebBlue" Width="100%"  style="z-index:7001" >
           <Configuration EnableAsyncUpload="true" />
        </telerik:RadFileExplorer>
    </div>
    </form>
</body>
</html>

then on the load event of the screen I have
RadFileExplorer1.WindowManager.Style.Add("z-index", "100001");

Has anyone else seen this issue?  Any idea what needs to be altered?

3 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 09 Nov 2012, 01:46 PM
Hi Frank,

We are aware of a similar issue in RadWindow (which is the Upload container) - you could see more information on the subject in this help article.
 
Nevertheless, I have logged the issue for further investigation if it is possible (not a browser behavior) we will fix it for some of our upcoming releases.

For the time being, you could use the following workaround:
<telerik:RadFileExplorer ID="RadFileExplorer1" runat="server" OnClientLoad="ClientLoad">
    <Configuration EnableAsyncUpload="true" ViewPaths="~/" DeletePaths="~/" UploadPaths="~/"/>
</telerik:RadFileExplorer>
<script type="text/javascript">
    function ClientLoad (explorer, args) {
        explorer.get_asyncUpload().add_fileSelected(RestoreUploadWindow);
    }
 
    function RestoreUploadWindow() {
        var explorer = $find("RadFileExplorer1");
        var activeWindow = explorer.get_windowManager().getActiveWindow();
        activeWindow.minimize();
        setTimeout(function () {
            activeWindow.restore();
        }, 0);
    }
</script>

Regards,
Vesi
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Frank
Top achievements
Rank 1
answered on 09 Nov 2012, 01:57 PM
I have tried the code you suppplied, but it still has the same issues
0
Vessy
Telerik team
answered on 09 Nov 2012, 03:22 PM
Hi Frank,

I am not quite sure why the provided code does not work on your side. For your convenience I will attach my whole test project.

Regarding the bug itself - it is not a browser behavior so you could track its progress in here:
http://www.telerik.com/support/pits.aspx#/public/aspnet-ajax/13352

As well, as a small token of our gratitude for your efforts I have updated your Telerik points.

Kind regards,
Vesi
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
FileExplorer
Asked by
Frank
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Frank
Top achievements
Rank 1
Share this question
or