This is a migrated thread and some comments may be shown as answers.

passing multiple parameter in clientside functions

2 Answers 59 Views
MultiColumnComboBox
This is a migrated thread and some comments may be shown as answers.
sarthkee
Top achievements
Rank 1
Veteran
sarthkee asked on 01 Feb 2021, 06:22 AM

Hi...I am using MultiColumnComboBox for that i have to pass one parameter inside OnChange property.. how it is possible to pass multiple or one parameter in client side function.

regards

sarthkee

2 Answers, 1 is accepted

Sort by
0
Doncho
Telerik team
answered on 03 Feb 2021, 04:04 PM

Hi Sarthkee,

You can try using an anonymous function to pass additional parameters to the event listener:

<ClientEvents OnChange="function(sender,args){OnChangeCustom(sender, args, 'param1', 'param2');}"/>

And in the event listener:

function OnChangeCustom(sender, args, param1, param2) {
    debugger;
}

Please let me know if further questions come up!

Kind regards,
Doncho
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
sarthkee
Top achievements
Rank 1
Veteran
answered on 04 Feb 2021, 07:18 AM
Thank You So much Doncho. I will definitely try and share my conclusion.
Tags
MultiColumnComboBox
Asked by
sarthkee
Top achievements
Rank 1
Veteran
Answers by
Doncho
Telerik team
sarthkee
Top achievements
Rank 1
Veteran
Share this question
or