1

My pages base on master and content pages and in content pages I have Multiviews; inside Multiviews I have RadComboBoxes.

Two of my RadComboBoxes are parent and child, like country and city dropdowns. Therefore in code-behind I put some code in the OnSelectedIndexChange event of parent RadComboBox for filling its child; I use a hidden field for country id and sql datasources (stored procedures). Meantime parent and child combo boxes are in an update panel.

For doing this job i set the autopostback property of parent combobox to true, but I do not want that autopostback=true because of some focus problems that I coded with jQuery.

So I want to convert the OnSelectedIndexChange event in code-behind to a method and call it in jQuery (in change event or something like that of parent combobox). How can I do this?

1 Answer 1

2

By $.ajax and by declaring your method a WebMethod

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.