RADUpload not working when placed in a relative div with a fixed height and overflow auto.

Thread is closed for posting
7 posts, 0 answers
  1. Jeff
    Jeff avatar
    29 posts
    Member since:
    Nov 2006

    Posted 28 Aug 2008 Link to this post

    Hi,

    I need to place an Upload control in a div that has a fixed height and has its contents scrolling via the overflow:auto style.  The div also needs its the position style set to relative.  The issue is that if the upload control is rendered in the hidden area then the "browse" button doesn't function correctly.  I believe this is to do with the real file input control not being positioned correctly over the top of the control?  However i can't seem to solve it.  If the upload control is rendered in the visible area it works fine.

    You can see the problem in the example below, the upload controls at the top of the list work fine but if you scroll to the bottom then they do not work?  Any ideas?

    <html xmlns="http://www.w3.org/1999/xhtml" >  
    <head id="Head1" runat="server">  
        <title></title>  
    </head>  
    <body>  
        <form id="form1" runat="server">      
        <asp:ScriptManager ID="ScriptManager1" runat="server">  
        </asp:ScriptManager>  
        <div style="overflow:hidden;"
            <div style="height: 150px; overflow:auto; border:solid 1px black; position:relative;">  
                <telerik:radupload   
                    id="RadUpload1"   
                    runat="server"    
                    InitialFileInputsCount="10"  
                    EnableFileInputSkinning="true"/>         
            </div> 
        </div>  
        </form>  
    </body>  
    </html>  

    Thanks,

    Jeff
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 28 Aug 2008 Link to this post

    Hi Jeff,

    We have managed to reproduce the problem. We are working on it and I will let you know when we fix it.

    I have updated your Telerik Points for finding the bug.

    Regards,
    Veskoni
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 03 Oct 2008 Link to this post

    Hi Jeff,

    I just wanted to inform you that we are now working on fixing the select button behavior in a scrolled element. To my regret the fix could not take part in the Q2 2008 SP2 release, but I hope we will be able to have it by the end of the next week. Let us know if critical and if you'd like an intermediate build.

    The official Q3 release is planned for the end of October and the fix will be available there.

    Best,
    Erjan Gavalji
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  4. Mike Conine
    Mike Conine avatar
    12 posts
    Member since:
    Aug 2004

    Posted 09 Oct 2008 Link to this post

    Erjan;

    Is there any progress on the select button not functioning properly?

    I am attempting to place the upload in a radmenu.

    Mike Conine
    mike@co9.com
  5. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 09 Oct 2008 Link to this post

    Hi Mike,

    Please find attached the latest internal build of the controls that addesses the issue. In order to send you the dev/licensed build you will have to open a support ticket.

    Greetings,
    Paul
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Mike Conine
    Mike Conine avatar
    12 posts
    Member since:
    Aug 2004

    Posted 09 Oct 2008 Link to this post

    Can I get this as a ZIP?

     What is contained in the folder? I assume that you have to modify the java for the fake input?
  7. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 09 Oct 2008 Link to this post

    Hello Mike,

    We changed the code for the real (invisible) file input positioning; it now considers the scroll size of its parent. This fix will be included in the next official release of the controls (Q3 2008).

    Best wishes,
    Paul
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top