Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

list box validation in ASP.NET 1.0

Status
Not open for further replies.

CTl06

Programmer
Aug 22, 2006
17
US
Hello all!
I want to be able to validate a list box that user has to select a value but I have a lot of buttons and data grid on the web form. for Example button1 , button2 and button3 and a datagrid. I just only want to causevalidation to fire when user click on button1. can anyone show me how to do this. thanks much in advance
 
Try setting the causesvalidation property of al of the other controls to false and the causesvalidation property of button1 to true

HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top