Zaner
|
| Posted: 09/16/2002, 12:36 PM |
|
I just cannot believe that there is no one out there that has no been able to solve this problem. (I.E. have a parent Listbox with States and a child Listbox of cities only selected by the parent). I know this can be done in Javascript, But this is using C# components and there is no documentation on how to achive this in asp.net when have a onChange event with the Parent Listbox, or to reference the Listbox VALUES.
CodeCharge Support does not even have an answer and tells you to look at others samplles that have nothing to do with asp.net, most of the poor examples are for CC and PHP.
Has anyone dynamicly selected the child values for a listbox by what was select on the Parent?
There got to be someone what has the TRUE answer!
|
|
|
 |
Brian Bermingham
|
| Posted: 09/17/2002, 12:47 AM |
|
Zaner
Have a look at this example http://aspexpress.com/aspnet/codesample.aspx?code=listboxfill
I know it is VB.net but it does what you want and may be ablt to convert to C#
|
|
|
 |
|