Send two request simultaneously 1st request with C# WebClient and 2nd request with Ajax
<p>hey guys,
i have a page in asp.net c#, in that im doin' some video upload functionality, so my video upload code is in <code>Page_Load()</code> method and i'm using <code>WebClient</code> to upload a video file.
and i have a <code>animated gif</code> image on page</p>

<p>Now the problem is when <code>Page_Load()</code> method is called my files getting uploaded using WebClient, while that time the Page is not yet render, so i get a blank page.. i want that <code>gif</code> image get animated while uploading is goin' on... </p>

<p><strong>Note:</strong> i have to use <code>WebClient's UploadFile()</code> method only.</p>

<p>So i was thinking is there any way that i can run my Upload functionality in new thread and let the page be Rendered.. or can ajax be helpfull in this scenario ??</p>

<pre><code>protected void Page_Load(object sender, EventArgs e)
{
   UploadFile();//this method actually calls an API which uses WebClient to upload file
}
</code></pre>

<p>Another problem is to get a track of upload, that API gives a <code>url</code> which sends json response saying how much percent upload completed, so i also what to send request to this upload tracking <code>url</code> while my Uploading is goin' on simultaneously..</p>
