I have a ComboBox within a RadGrid that performs a database lookup within its selectedindexchanged event in the code behind and populates several other radnumerictextboxes within that same grid row. I have a JavaScript function on the page that is called when the value of some of these radnumerics (such as quantity) are changed in order to recalculate some totals.
ie: quantity * db lookup value = total.
My problem is, I need a way to call that Javascript function AFTER changing the selected index of the ComboBox (and therefore after the postback) I'm trying to avoid duplicating the javascript code in the selected index changed in the code behind. Far better if I could just call the Javascript function after the postback required for that lookup and only when that lookup dropdown is changed.
Any ideas?
ie: quantity * db lookup value = total.
My problem is, I need a way to call that Javascript function AFTER changing the selected index of the ComboBox (and therefore after the postback) I'm trying to avoid duplicating the javascript code in the selected index changed in the code behind. Far better if I could just call the Javascript function after the postback required for that lookup and only when that lookup dropdown is changed.
Any ideas?