We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to send custom parameters to events

This knowledge base explains the way to send custom parameter to events. You can just send the parameter as option to the widget on its creation and access it in the widget instance.

In general, any properties sent to the widget on its creation is accessible later via widget’s model property.

For other wrappers, also, we have come up with the same approach by setting up the parameter in the widget’s model and later retrieving from it.

JavaScript Solution

 

[JS]

 

 

MVC Solution

 

[CSHTML]

 

 

ASP Solution

 

[ASPX]

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7850 07/14/2017 07/14/2017 ASP.NET MVC General
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon