Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 27th, 2006, 03:23 AM
Authorized User
 
Join Date: Jan 2006
Location: Hunza, Gilgit, Northern Areas, Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hunzian78@yahoo.com
Default Two TextBoxes


Hi All..

Well I have two TextBoxes one for Countries Listing and the others is for City Listing.

problem:

I want to select a country from the country's TextBox in the mean time i want to show the particular cities of that country in the City's TextBox.

How it will be possible

Sorry i am not able to tell you the whole scenario but i am pretty sure that you all will use your IQ to understand the complete scenario so that you will be able to sort out this tricky problem.


Abdul Ghaffar


  #2 (permalink)  
Old March 27th, 2006, 05:05 AM
Authorized User
 
Join Date: Mar 2006
Location: Aberdeen, Scotland, United Kingdom.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default


From a general point of view, you will have to submit the page once the Country has been selected and based on the country selected, fill the options for the City's text box on the server side.

A server-side function can be programmed to generate the HTML with the options for the city based on the selected country.

This is a fairly common feature of many developments and there should be plenty of examples in the web.

Greetings, Joel
  #3 (permalink)  
Old March 27th, 2006, 04:23 PM
Friend of Wrox
Points: 4,332, Level: 27
Points: 4,332, Level: 27 Points: 4,332, Level: 27 Points: 4,332, Level: 27
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Use drop down lists

  #4 (permalink)  
Old March 28th, 2006, 12:21 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Dropdownlists + AJAX = Good Solution. I do agree with Joe though, posting back and populating the second drop down is your best bet.

"The one language all programmers understand is profanity."
  #5 (permalink)  
Old March 28th, 2006, 05:59 AM
Authorized User
 
Join Date: Aug 2005
Location: Vathiyur - Kanchipuram, Tamil Nadu, India.
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can use two Dropdown list and AJAX technology. No otherway is not possible. Otherwise you will use the Infragistics grid.

Regards
Adalarasu. S
XYKA software ltd
Bangalore

  #6 (permalink)  
Old April 1st, 2006, 06:32 AM
Authorized User
 
Join Date: Jan 2006
Location: Hunza, Gilgit, Northern Areas, Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hunzian78@yahoo.com
Default


Thank you very much joelchaconf, jbenson001, dparsons, arasu.....

With respect to your suggestions i am now able to get what i had asked for, without using AJAX. This word an eerie for me and seems pertty nice and hopefully i will get through it.

Once again thank all for your replies.


Abdul Ghaffar


 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Binding Textboxes RubyRue ASP.NET 1.0 and 1.1 Basics 1 February 18th, 2008 11:13 AM
Format textboxes dhoward Javascript How-To 1 December 29th, 2006 01:37 AM
query AND/OR for textboxes gilgalbiblewheel Classic ASP Databases 1 February 4th, 2005 09:10 PM
Printing Textboxes circuitzero Beginning VB 6 2 December 2nd, 2004 12:02 AM
Using Monthview with 2 textboxes eresina Beginning VB 6 0 October 2nd, 2003 08:33 AM



All times are GMT -4. The time now is 11:18 PM.


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