Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: dropdown


Message #1 by "Nick" <nick@g...> on Fri, 16 Aug 2002 17:52:58 +0700
Yah, ur assuming is right... so when my 1st dropdown selected then my 2nd dropdown will change depand on
the 1st dropdown, do i must using post back ??
how about if i have (A)2 dropdown has realted and the other (B)3 dropdown have realated, between dropdown (A) and (B) don't have
related at all 
do i must using post back ? or have any idea ??
Dropdown A <2 dropdown>             Dropdown B <3 DropDown>
Fruit  - Manggo                                  Food   -  Meat   - Duck
         - Grape                                                            - Fish
         - Bananana                                        - Vegetable - Brocolli
Drink - Beer                                                                  - Peanuts
          - Cola                                     

Sample like that 





----- Original Message ----- 
From: "Debreceni, David" <david_debreceni@r...>
To: "ASPX_Professional" <aspx_professional@p...>
Sent: Friday, August 16, 2002 7:10 PM
Subject: [aspx_professional] RE: dropdown


> I am assuming your talking about if you select an option from the 1st
> dropdown, it then populates the second based upon that result and so on.
> The way we do that here is we pull back all the records that we need and put
> the different tables in a dataset(May want a different choice if your
> recordsets are really large.)  We then use DataViews to populate the
> dropdowns.  The first dropdown is populated on page_load, then it has an
> autopostback using the OnSelectedIndexChange to call a specific Sub, which
> then creates a filtered dataview which is used to populate the second drop
> down.  HTH
> 
>  
>  
> David Debreceni
> Senior VB/ASP Developer
> David_Debreceni@r... <mailto:David_Debreceni@r...> 
>  xxx-xxx-xxxx  x1086
> 
> 
> -----Original Message-----
> From: Nick [mailto:nick@g...]
> Sent: Friday, August 16, 2002 6:53 AM
> To: ASPX_Professional
> Subject: [aspx_professional] dropdown
> 
> 
> How to create 2 or 3 dropdownlist that have related ??
> any sample ?? how ??
> 
> 
> 
> ---
> 
> ASP.NET 1.0 Namespace Reference with C#
> http://www.wrox.com/acon11.asp?ISBN=1861007442
> 
> ASP.NET 1.0 Namespace Reference with VB.NET
> http://www.wrox.com/acon11.asp?ISBN=1861007450
> 
> These books are a complete reference to the ASP.NET namespaces 
> for developers who are already familiar with using ASP.NET. 
> There is no trivial introductory material or useless .NET 
> hype and the presentation of the namespaces, in an easy-to use 
> alphabetical order ensures a user-friendly reference format.
> We provide in-depth coverage of all the major ASP.NET classes, 
> giving you those real-world tips that the documentation doesn't 
> offer, and demonstrating complex techniques with simple 
> examples.  
> 
> ---
> 
> 
> ---
> 
> ASP.NET 1.0 Namespace Reference with C#
> http://www.wrox.com/acon11.asp?ISBN=1861007442
> 
> ASP.NET 1.0 Namespace Reference with VB.NET
> http://www.wrox.com/acon11.asp?ISBN=1861007450
> 
> These books are a complete reference to the ASP.NET namespaces 
> for developers who are already familiar with using ASP.NET. 
> There is no trivial introductory material or useless .NET 
> hype and the presentation of the namespaces, in an easy-to use 
> alphabetical order ensures a user-friendly reference format.
> We provide in-depth coverage of all the major ASP.NET classes, 
> giving you those real-world tips that the documentation doesn't 
> offer, and demonstrating complex techniques with simple 
> examples.  
> 
> ---
> 


  Return to Index