I want to catch the selection change event in the js and I know I shoud do it like this:
<ig:WebDropDown runat="server" Width="100%" EnableViewState="false" AutoPostBack="false">
<ClientEvents SelectionChanged= "myMehtod" />
</ig:WebDropDown>
But I dont' know the parameters of the method "myMethod", I search the help pages and I didn't find there are any document on this. could you please show me the definition of the client side event method?
thanks,
Eric
Hello,SelectionChanged client-side event uses DropDownSelectionEventArgs.Here is an example how you can use SelectionChanged client-side event: function myMethod(sender, eventArgs) { alert(eventArgs.getNewSelection()[0].get_text()); alert(eventArgs.getOldSelection()[0].get_text()); }Regards,Nikolai Dimitrov
Hello Eric,
Were you able to implement the SelectionChanged event successfully on the client?
Please let me know if you have any other questions.
Thanks,
Valerie