Validation in Asp.Net 2.0.

  • Thread starter Thread starter Miguel Dias Moura
  • Start date Start date
M

Miguel Dias Moura

Hello,

I need to create a custom validator, that fires when a button is
pressed, and that displays an error message if the check box list
"MyCheckBoxList" doesn't have any item seleced.

What should be the client javascript function for this?

Thanks,
Miguel
 
Miguel
In the buton tage enter this OnClick="Button1_Click"
Then write the code to handle this inside the gunction
protected void Button1_Click(object sender, EventArgs e)
{

}
 
I know that but I want to use the asp.net custom validator and do the
validation on the client with javascript functions.

Thanks,
Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top