This is a migrated thread and some comments may be shown as answers.
FileUpload's view is bad in IE7
2 Answers 22 Views
This is a migrated thread and some comments may be shown as answers.
Murat Co
Top achievements
Rank 1
Murat Co asked on 30 Jul 2009, 11:07 AM
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 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 31 Jul 2009, 05:39 AM

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 */
input[type="file"]
{
 border /*\**/: inset 2px #fff\9 !important;
 background /*\**/: #d4d0c8 !important;
}
</style>


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.
0
Murat Co
Top achievements
Rank 1
answered on 06 Aug 2009, 11:31 AM
thanks...

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...
Asked by
Murat Co
Top achievements
Rank 1
Answers by
Martin
Telerik team
Murat Co
Top achievements
Rank 1
Share this question
or