I have web page where i had used some validation control and i had also written javascript validation for few validations.
Now when i submit i dont see my validation routine been called.
The reason is two onclick exists when source is viewed
it appear as
<code>
<input type="submit" name="btnSearch" value="Click here" onclick="if (typeof(Page_ClientValidate) == function) Page_ClientValidate(); " language="javascript" id="btnSearch" class="SButton" onclick="return ValidateDate();" />
</code>
where validateDate() is javascript routine written by me, which never gets executed
how to over come this issues to make both fire?
Now when i submit i dont see my validation routine been called.
The reason is two onclick exists when source is viewed
it appear as
<code>
<input type="submit" name="btnSearch" value="Click here" onclick="if (typeof(Page_ClientValidate) == function) Page_ClientValidate(); " language="javascript" id="btnSearch" class="SButton" onclick="return ValidateDate();" />
</code>
where validateDate() is javascript routine written by me, which never gets executed
how to over come this issues to make both fire?