Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Please help me to fix this

I have a grid with dropdown it populate value As Room No 1-5 and i have maximum occupany if user select more than the occupancy it should show alert.example Room max occupancy 2.i have multiple user if room no 1 got selected by two user then 3rd user select means it should validate.
Posted
Comments
SathishRam 16-Sep-15 9:17am    
No one answered

1 solution

If you want to do validation on click of Save button then write Javascript code for Save button. Loop the gridview and check for the value and show validation message as a summary.

If its for each dropdown change then code should be written for dropdown selection change.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900