Upload in ModalPopup

6 posts, 0 answers
  1. Reiner Ebel
    Reiner Ebel avatar
    15 posts
    Member since:
    Jul 2009

    Posted 06 Sep 2009 Link to this post

    Hello,
    I used the RadFileExplorer in a Panel for ModalPopup. It works good. When I clicked by the Upload button, then the Upload Dialog is not in front from the FileExplorer. How can I solve this problem?

    Thanks
    Reiner
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 10 Sep 2009 Link to this post

    Hello Reiner,

    The reason for this problem is the z-index of the modal popup - you need to set the dialog's z-index to a higher value.
    Since RadFileExplorer uses RadWindowManager to show the upload dialog, the easiest way is to set this value from the codebehind.
    For example:
    protected void Page_Load(object sender, EventArgs e) 
        { 
            RadFileExplorer1.WindowManager.Style.Add("z-index""20000"); 
        } 



    All the best,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. RAM
    RAM avatar
    2 posts
    Member since:
    Apr 2007

    Posted 17 May 2012 Link to this post

    As mentioned, i am using

     

    FileExplorer1.WindowManager.Style.Add("z-index", "20000"); It works in IE but not in chrome. Is there anything else i need to set.

    Thanks.

     

     

  5. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 22 May 2012 Link to this post

    Hello,

    It seems that in Chrome the zIndex of the ModalPopupExtender is 100,000 while in InternetExplorer is 10,000. To avoid the issue for Chrome as well you just need to set the z-index value of the RAdFileExplorer's WindowManager to be higher than 100,000.

    Kind regards,
    Dobromir
    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.
  6. RAM
    RAM avatar
    2 posts
    Member since:
    Apr 2007

    Posted 20 Sep 2012 Link to this post

    Team, when i try to drag and drop files between folders with file explorer in a popup window the drag icon is going behind, is there any solution for that.

                Thanks, Ram
  7. Vessy
    Admin
    Vessy avatar
    1389 posts

    Posted 21 Sep 2012 Link to this post

    Hi Ram,

    In order to workaround this behavior you need to add the followind CSS style:
    <telerik:RadCodeBlock runat="server">
        <style type="text/css">
            #<%=RadFileExplorer1.ClientID%>_grid_DraggedRows
            {
                z-index: 100002 !important;
            }
        </style>
    </telerik:RadCodeBlock>

    The above used ID is being created depending on the RadFileExplorer's ID, and this is the recommended way to be used.

    All the best,
    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017