My form does not always render the realupload with the opacity set to 0. Does anyone see anything that I am missing?
<style type="text/css">
.realupload
{
position: absolute;
top: 0;
width: 270px;
right: 0; /* start of transparency styles */
opacity: 0;
-moz-opacity: 0;
filter: alpha(opacity:0); /* IE7 and under */
-ms-filter: "Alpha(Opacity=0)"; /* IE8 */ /* end of transparency styles */
z-index: 3; /* bring the real upload interactivity up front */
}
</style>
<asp:FileUpload ID="realupload" runat="server" Width="75%" OnChange="this.form.fakeupload.value = this.value; javascript: checkFile(); Remove(this); return false;"
CssClass="realupload" onkeydown="return (event.keyCode==9);" onpaste="return false;"
ToolTip="Click to browse your computer to select the File you would like to import" />
I came, I conquered. I ended up wrapping the fileupload control in it’s own div and setting the opacity to 0 on the div rather than the control it’s self. This took care of the interment failure of the opacity to render on the control. Thanks for the suggestions guys.