This is a migrated thread and some comments may be shown as answers.

problem by selecting an item in combobox javascript

1 Answer 52 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Julio Paez
Top achievements
Rank 1
Julio Paez asked on 12 Feb 2010, 12:51 PM

Hi everyone,

I have a project in which two combobox (Parent - Child) and when I select an item from combobox parent, using javascript, the child combobox client-side load on the server side but appears empty.

someone knows why this happens and how to solve it?

Thanks

1 Answer, 1 is accepted

Sort by
0
robertw102
Top achievements
Rank 1
answered on 12 Feb 2010, 09:17 PM
When you select an item in the parent drop-down in your javascript function do you call the trackChanges() and commitChanges() methods? These are required to save any javascript changes to the comboboxes viewstate when a postback occurs.

I hope that helps.
Tags
ComboBox
Asked by
Julio Paez
Top achievements
Rank 1
Answers by
robertw102
Top achievements
Rank 1
Share this question
or