ASP.NET 1.0 and 1.1 BasicsASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I have a registration page. In this page ther are two dropdownlist.
One for country and another for state. country & state names are coming from database at time of page load. Both are mandatory field.
In country box I add "Select Country" at index 0 and
In state box "Select state" at index 0.
condition 1 : If user select "United state" or "Canada" from country then state dropdownlist visible property is true otherwise it false and state dropdownlist is replaced by one text box for entering state name.
condition 2: if country value is "Select Country" or state value is "Select State" then stop submitting the form and show proper message.
What point are you at now? Have you done any coding on it? What you require is not too difficult to implement. Just take a stab at it and post as you go along and run into problems.