FileUpload's view is bad in IE7

3 posts, 0 answers
  1. Murat Co
    Murat Co avatar
    4 posts
    Member since:
    Jul 2009

    Posted 30 Jul 2009 Link to this post

    I use Form decorator in a page. And there is also FileUpload in same page.
    But in IE7 FileUpload is seen very badly, even FileUpload's textbox isn't seen.

    Form decorator's DecoratedControls="Textbox, Buttons, Select"

    In Firefox there is no problem.
    What am I doing wrong ?


  2. Martin
    Martin avatar
    585 posts

    Posted 31 Jul 2009 Link to this post

    Hi Murat Co,

    Unfortunately, this seems to be a flaw on our side, and we will fix it. Until then, you may either use RadUpload instead of the original file input, or the following CSS fix:

    <style type="text/css">
    /* IE7 fix */
    *+html input[type="file"]
     border: inset 2px #fff !important;
     background: #d4d0c8 !important;

    /* IE8 Standards / Compat Mode fix */
     border /*\**/: inset 2px #fff\9 !important;
     background /*\**/: #d4d0c8 !important;

    If you decide to use the fix, make sure you use it exactly the way I give it to you - these are CSS hacks, that will target only IE7 and IE8, and you should not worry about other browsers. However, IE6 will not work, as it does not support attribute selectors (The input[type="file"] selector will not be recognized).

    Sincerely yours,

    Martin Ivanov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Murat Co
    Murat Co avatar
    4 posts
    Member since:
    Jul 2009

    Posted 06 Aug 2009 Link to this post


    I use CSS fix that you have writed. I dont use Rad Upload, because I want to change the file's which is uploaded name and size ( file is image ).  If i use Rad Upload, i cant change the image's name and this is important for me ......

    anyway css has solved the problem.

    thanks a lot...
Back to Top