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?
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") %>');
});
});
精彩评论