Graphic Upload process?
<p>In my application i have a page where videos are uploaded. In this page i am doing video conversion, it will take time to video conversion, so i want to display the image or message while video conversion is under process, after that the display image should not display. can u help me i take some code form google search it is working fine in IE but not in fire fox.</p>

<pre><code>public static void PrintProgressBar()

    {

       StringBuilder sb = new StringBuilder();

       sb.Append("&lt;div id='updiv' style='Font-weight:bold;font-size:11pt;Left:320px;COLOR:black;font-family:verdana;Position:absolute;Top:140px;Text-Align:center;'&gt;");

      sb.Append("&amp;nbsp;&lt;script&gt; var up_div=document.getElementById('updiv');up_div.innerText='';&lt;/script&gt;");

       sb.Append("&lt;script language=javascript&gt;");

        sb.Append("var dts=0; var dtmax=10;");

       sb.Append("function ShowWait(){var output;output='Please wait while uploading!';dts++;if(dts&gt;=dtmax)dts=1;");

      sb.Append("for(var x=0;x &lt; dts; x++){output+='';}up_div.innerText=output;up_div.style.color='red';}");

       sb.Append("function StartShowWait(){up_div.style.visibility='visible';ShowWait();window.setInterval('ShowWait()',100);}");

       sb.Append("StartShowWait();&lt;/script&gt;");

       HttpContext.Current.Response.Write(sb.ToString());

        HttpContext.Current.Response.Flush();

       btnSubmit.Enable = false;

}   



public static void ClearProgressBar()

    {



        StringBuilder sbc = new StringBuilder();

        sbc.Append("&lt;script language='javascript'&gt;");

        sbc.Append("alert('Upload process completed successfully!');");

        sbc.Append("up_div.style.visibility='hidden';");

        sbc.Append("history.go(-1)");

        sbc.Append("&lt;/script&gt;");

        HttpContext.Current.Response.Write(sbc);

    }
</code></pre>

<p>This is code i am using</p>
