CustomValidator.

On Aug 18, 8:20 am, Suraj <[email protected]> wrote:
> Hi,
>
> I have a search button I my aspx page. When the user clicks on search, it
> has to do first client side validation i.e., check if the user has entered
> any data by using javascipt and then should go to code behind.
>
> So, the button will have two functions  OnClick="btnSearch_Click" and
> OnClientClick="btn_check" in the source of aspx page.
>
> Is this correct?
> If not, how can i achieve both client and server side validation on search
> button.
> Thanks,
>
> Regards,
>
> Suraj

Reply via email to