Submit button and Javascript
<p>I have a Submit button with code behind that evaluates stuff in c#, the problem is that I also want to add a function in javascript that asks "This file already exists, do you want to replace it?</p>

<p>So my question is how can I trigger both? </p>

<pre><code>OnClick="myC#mehod" and also OnClientClick =  return (some javascript);
</code></pre>

<p>Can I do this?...</p>
