Validate a ListBox using validators inside a usercontrol

  • Thread starter Thread starter Fernando Lopes
  • Start date Start date
F

Fernando Lopes

Hi.
I have a page with a usercontrol.
In this UC, I have two ListBoxes and two buttons. When i click in one
button, i get the selected item in the listbox.
How can i validate, using validators, if the selected listbox has a selected
item?

Thanks.

Fernando
 
Thanks Peter.
But how can i do that? I say this because my "unselected" value is a blank
ListItem.

Thanks again.
Fernando
 

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