----------------------------------------------------------- New Message on MumbaiUserGroup
----------------------------------------------------------- From: pashish76 Message 4 in Discussion Hi If I am not wrong you are talking about client side validation and it has nothing to do with ASP.NET till validation is complete. First thing is that when you are entering Country list in the combo, also assign Unique value to each country and say -1111 as Value to "Select Any". Now what you need to do is that on submit of form (OR onclick event of Submit Button Or Onsubmit of form) call a javascript function . Within that function you need to validate whether the user has selected the country or not, which you can do by checking the value of that particular dropdown box. If the value is equal to -1111 that means the user has not chosen a Country so you can return false and prompt user to select country. If the user has chosen a country you will pass true and submit the form. Regards Ashish P ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
