Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.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
 
Old February 6th, 2006, 04:44 AM
Authorized User
 
Join Date: Jan 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with dropdownlist

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.

how i solve this problem?





 
Old February 6th, 2006, 12:32 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

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.

 
Old February 7th, 2006, 02:45 AM
Authorized User
 
Join Date: Jan 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Problem solved

 
Old February 8th, 2006, 01:59 AM
Registered User
 
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to munnu Send a message via Yahoo to munnu
Default

hi somnath,

Is it possible for u to share the Country & State Database?



Happy Coding..
regards,
Munnu, Hyderabad
------------------------
Tackle the tough time to show the Talent





Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in dropdownlist premnaath ASP.NET 2.0 Professional 2 November 29th, 2007 10:01 AM
Dropdownlist Problem monika.vasvani ASP.NET 1.0 and 1.1 Professional 2 November 11th, 2006 09:24 AM
DropDownList Problem cmw231 ASP.NET 2.0 Professional 0 July 14th, 2006 08:44 AM
dropdownlist problem naresh.net ASP.NET 1.0 and 1.1 Basics 4 July 7th, 2005 01:22 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.