T
TS
i have an inherited ddl and i have a property (OnChangeFunction) that when
set will add an onchange attribute to it which will call the JavaScript
method used in (OnChangeFunction). the problem is that it interacts with the
one created when assigning onselectedindexchanged to a server side event
handler; so what happens is two onchange html attributes are rendered.
i want to make it so my JS function call (specified in OnChangeFunction)
gets added as the first item in the onchange html attirbute when the
onselectedindexchanged is used, otherwise manually create the onchange
attribute.
what can i do?
thanks
set will add an onchange attribute to it which will call the JavaScript
method used in (OnChangeFunction). the problem is that it interacts with the
one created when assigning onselectedindexchanged to a server side event
handler; so what happens is two onchange html attributes are rendered.
i want to make it so my JS function call (specified in OnChangeFunction)
gets added as the first item in the onchange html attirbute when the
onselectedindexchanged is used, otherwise manually create the onchange
attribute.
what can i do?
thanks