Dynamic List Child Box - Selecting Inital Value

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Dynamic List Child Box - Selecting Inital Value

    I have implemented the method of creating dynamic lists from
    [url]http://www.macromedia.com/go/tn_19117[/url] . The list values are pulled from a
    database to create a parent list called Main Categories and create a child list
    to called Sub Categories. As the selection in the parent list changes the
    child list changes accordingly. However, when I am setting the initial values
    for the parent and child box, based on individual user profile values in the
    database, I can only set the initial value for the parent box. The child box
    updates the list properly, but it will not select an initial value, it just
    defaults to the first entry in the list. How should I modify the code to allow
    for a 'Selected' value in the child list? Thanks!

    virtual1 Guest

  2. Similar Questions and Discussions

    1. Selecting Records based on DB column with list
      Hi, I am stuck (and I think this will end up being a duh/d'oh thing!). I have a dbase table called projects (Access) that contains project data....
    2. Selecting colors in dynamic datagrid
      Dim dg as datagrid dg.BackColor = "#346655" does not work, how else can I set the color to the html code #?
    3. list of child pids
      Hello all, getppid returns the parent process ID given a processes ID. Is there a corresponding function which returns a list of child processes...
    4. Programmatically Selecting Item in Radio Button List
      I have created a radio button list programmatically. C# SqlConnection conn = new SqlConnection("data source=localhost; integrated security=true;...
    5. Selecting Multiple Values in a List/Combo Box
      The following should work: On your close button add the following line before the close command getWellList docmd.close
  3. #2

    Default Re: Dynamic List Child Box - Selecting Inital Value

    Hi yea,
    I have done what your trying to do but I took the easy way. by using the
    following extension.

    [url]http://www.interaktonline.com/Products/Dreamweaver-Extensions/MXWidgets/Benefits/Details/Dependent+Drop-downs.html?id_sol=16[/url]

    twocans


    "virtual1" <webforumsuser@macromedia.com> wrote in message
    news:d3elah$quj$1@forums.macromedia.com...
    >I have implemented the method of creating dynamic lists from
    > [url]http://www.macromedia.com/go/tn_19117[/url] . The list values are pulled from a
    > database to create a parent list called Main Categories and create a child
    > list
    > to called Sub Categories. As the selection in the parent list changes the
    > child list changes accordingly. However, when I am setting the initial
    > values
    > for the parent and child box, based on individual user profile values in
    > the
    > database, I can only set the initial value for the parent box. The child
    > box
    > updates the list properly, but it will not select an initial value, it
    > just
    > defaults to the first entry in the list. How should I modify the code to
    > allow
    > for a 'Selected' value in the child list? Thanks!
    >

    twocans Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139