RadUpload input placement chrome/firefox bug?

Thread is closed for posting
2 posts, 1 answers
  1. Daniel
    Daniel avatar
    9 posts
    Member since:
    Apr 2011

    Posted 02 Feb 2012 Link to this post

    I found that the radupload gets translated into  a series of input tags.

    the input type=file is just  chilling at  position: absolute; left: 0px; top: -5000px;  

    this happens while the hover over is not fired.

    The problem with this is that my page is rather large and -5000 px before the upload
    is some checkbox

    So when i click on the checkbox a File browse fires and i'm prompted to upload
    a file instead of just checking the  current checkbox. 

    Is there a fix for this?  I tried hiding the input but that renders the control useless.

  2. Answer
    Bozhidar avatar
    1146 posts

    Posted 06 Feb 2012 Link to this post

    Hello Daniel,

    This is a part of the implementation in the previous versions of RadUpload. To increase the offset, try the following:
    function pageLoad() {
        var upload = $find("<%= RadUpload1.ClientID %>");       
        upload._hideFileInput = function(fileInput)
            var location = {x: 0, y: -100000};
            $telerik.setLocation(fileInput, location);

    All the best,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top