Two combo's reaction

Posted:
03 Apr 2014 14:47
by etwoss
Hi
If i select an item from my first combobox, based on its value i need to fill the second.
Currently it only works if i set the OnChange event Ajax = false
is there a better way to do this?
Re: Two combo's reaction

Posted:
03 Apr 2014 15:15
by Jorge Sousa
Yes
It's calling ComboBoxEx.AjaxReRender - which is a local update of the control.
All the operations involving adding and removing items, are not supported directly in ajax, ie, there is no javascript translation for such operations, also because most of the times is more effecient to rerender than apply complex javascript and complex renderization of that kind of javascript.
please note that TIWCGJQComboBox, is a simple descendant from TIWComboBox with css for jqueryui-themes,
that control class has occupied the name of our jquery true combobox: TIWCGJQComboBoxEx
For dynamical data loading we suggest TIWCGJQDropDown, that loads data by ajax with possibility of fetching only a given number of records at the time and optional search options.