Hello:
Here's the scenario. user defines a search via several radcomboboxes. The form is cleared, using the following javascript to clear the comboboxes selected:
All that looks good until a postback is done then the previously selected values are "restored". I thought that by using the commitChanges() it would sync the client changes to the server to prevent the previous selected items from being restored.
Thanks!
Here's the scenario. user defines a search via several radcomboboxes. The form is cleared, using the following javascript to clear the comboboxes selected:
function ResetComboBoxValue(ctrl, isDisable) { var combo = $find(ctrl); var input = combo.get_inputDomElement(); if (combo != null) { combo._enabled = true; combo.trackChanges(); combo.clearSelection(); combo.set_emptyMessage(combo.get_emptyMessage()); if (isDisable) { combo._enabled = false; input.readOnly = true; } combo.commitChanges(); }}All that looks good until a postback is done then the previously selected values are "restored". I thought that by using the commitChanges() it would sync the client changes to the server to prevent the previous selected items from being restored.
Thanks!