Passing Multiple (Controls) Dropdownlists to Another Page's Textboxes

Discussion in 'ASP .Net' started by Angel.Net, Jun 15, 2005.

  1. Angel.Net

    Angel.Net Guest

    I'm working with 40 dropdownlists that are selected on the the first page and each selection is sent to another Web Page's textboxes. I'd like to loop thru my first page's dropdown's and match them with the second page's textboxes. Should the controls on both pages be established in an ArrayList?? What is the best way to access these controls without hardcoding their id's?

    From http://www.developmentnow.com/g/8_2005_4_0_6_0/dotnet-framework-aspnet.htm

    Posted via DevelopmentNow.com Groups
    http://www.developmentnow.com
     
    Angel.Net, Jun 15, 2005
    #1
    1. Advertisements

  2. RE: Passing Multiple (Controls) Dropdownlists to Another Page's Textb

    Have you looked at the HashTable .net collection? That might work for you.

    "Angel.Net" wrote:

    > I'm working with 40 dropdownlists that are selected on the the first page and each selection is sent to another Web Page's textboxes. I'd like to loop thru my first page's dropdown's and match them with the second page's textboxes. Should the controls on both pages be established in an ArrayList?? What is the best way to access these controls without hardcoding their id's?
    >
    > From http://www.developmentnow.com/g/8_2005_4_0_6_0/dotnet-framework-aspnet.htm
    >
    > Posted via DevelopmentNow.com Groups
    > http://www.developmentnow.com
    >
     
    =?Utf-8?B?Q3JhaWc=?=, Jun 15, 2005
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Darren

    Multiple DropDownLists

    Darren, Aug 18, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    506
    Steve C. Orr, MCSD
    Aug 18, 2003
  2. Replies:
    1
    Views:
    422
    bruce barker
    Nov 5, 2004
  3. Eagle

    Sizing of DropDownLists and textboxes in a grid

    Eagle, May 11, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    207
    Eagle
    May 11, 2005
  4. Dgreer
    Replies:
    1
    Views:
    431
  5. Robert Cohen
    Replies:
    3
    Views:
    574
    Andrew Durstewitz
    Jul 15, 2003
  6. J P Singh
    Replies:
    2
    Views:
    201
    Michael
    Jan 28, 2004
  7. Drew
    Replies:
    7
    Views:
    367
    Ray Costanzo [MVP]
    Nov 10, 2004
  8. Oscar
    Replies:
    27
    Views:
    663
    Mark J. McGinty
    Jun 1, 2005
Loading...