0

I am using Telerik TreeView control. I set up it to use check boxes. When I click in combobox I want to fire Ajax request to action in controller. Then I want to reload some part page. How to fire Ajax to action by clicking in combobox?

1 Answer 1

0

You could register for the click event:

$(function() {
    $('#treeViewId :checkbox').click(function() {
        // when a checkbox is clicked
        // fire an AJAX request to some action
        // and refresh the contents of some div
        $('#someDiv').load('<%= Url.Action("someaction") %>');
    });
});
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.