Pardon me, as I don't have sample code to paste here.
The page has asp:DropdownList
which has the events such as change
. The eventhandler is attached using jquery (on the lines of $('#mydropdown').bind('change', function() {});
which in turn makes an ajax call (think of 3 dropdowns where dropdown 3 is dependent on dropdown 2 and dropdown 2 is dependent on dropdown 1).
A change request needs me to use Telerik RadComboBox which doesn't have identical model (such as change
event, options
attribute etc). I would prefer not to modify the existing code that gets triggered on the change
event, which does state management & ajax calls on the client side.
Can someone help me redirect the RadComboBox events (OnSelectedIndexChanged
to the dropdown events (change
), thereby making sure that the code doesn't have to care if its RadComboBox or a html select- because it is able to receive the notification of change
event).
Post comments, if this isn't clear.