How to call method of .aspx from .cs file
<p>I created web page in that i used javascript in .aspx file. </p>

<p>I have a save-button,but in the source code i used javascript for save button, where i declared a function called <code>OnClientClick="javascript : validateTextTest()"</code> and in the head of source code i called this function <code>validateTextTest()</code>.</p>

<p>Below is the save button in source code:</p>

<pre><code>&lt;asp:Button ID="Save"  runat="server" 
   onclick="Save_Click" Text="Save" 
   OnClientClick="javascript : validateTextTest()" Width="63px" /&gt;
</code></pre>

<p>Now i need to call a function <code>validateTextTest()</code> in save button of .cs file.Because i have two to three textboxs, if i leave one texbox out of three textbox it should not insert into DB.</p>

<p>So please tell me how to call the function in .cs file.</p>
