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

[Solved] how to send an additional parameter for Telerik MVC [JQuery] event handlers

0 Answers 46 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
SHEIKH
Top achievements
Rank 1
SHEIKH asked on 06 Apr 2012, 12:05 PM
I'm new to jQuery right now I'm using Telerik asp.net MVC control along with Razor view engine. Here is a code snippet from my view. 



Html.Telerik().ComboBox().Name("cmb")               
        .AutoFill(true)
        .DataBinding(binding => binding.Ajax().Select("_loadData", "MyController").Cache(false))
        .ClientEvents(ce => ce.OnLoad("cmbLoaded"))
                                      
        function cmbLoaded(e) {           
            var ComboBox = $("#cmb").data("tComboBox");
            //do stuff here
        }


I want to send extra parameter on cmbLoaded .ClientEvents(ce => ce.OnLoad("cmbLoaded")) how should i pass it here. How can i do that. 


thanks in advance. 
Tags
General Discussions
Asked by
SHEIKH
Top achievements
Rank 1
Share this question
or