ASP.NET and C# FileUpload
<p>I have a asp file upload for pictures and what I want to do is, when the file chosen has the same name as the previous file it should pop something up that says "This image name already exists, do you want to replace it? if yes then it would just override the current picture with the new one but if not then just leave it alone. How can I do this?. Right now I have this. Also if the solution is in javascript I could also use that (but i am not too good with javascript :) ) Thank you</p>

<pre><code>&lt;div class="style"&gt;
Choose an Image:&amp;nbsp;&lt;asp:FileUpload ID="getImage" runat="server" Width="150px" BorderStyle="Inset" EnableViewState="true" /&gt;
 &lt;asp:RegularExpressionValidator ID="RegularExpressionValidator"
runat="server" ControlToValidate="getImage" CssClass="Error" Display="dynamic" ValidationExpression=".*(\.[Jj][Pp][Gg]|\.[Gg][Ii][Ff]|\.[Jj][Pp][Ee][Gg]|\.[Pp][Nn][Gg])" ErrorMessage="Select a correct file format"&gt;&lt;/asp:RegularExpressionValidator&gt;
&lt;/div&gt;
</code></pre>

<p>Please be aware I am a total newbie with Javascript so if that is what's going to work please explain as if I was a 5 year old.</p>

<p>I really appreciate the help.</p>
