I want a cascading dropdown list in a SharePoint visual web part.

How can i do this? Any way to use Ajax? Need an example with code.

  • Where is the data for the drop-down lists coming from? – John Chapman May 31 '14 at 5:33

Well you can create an Application page with WebMethods defined and than use simple jQuery Ajax to call the methods..

Please have a look at
Call WebMethod from JS in Visual web Part

     type: "POST",
     url: siteUrl + "/_layouts/SolutionName/WebMethods.aspx/Recount",
     data: "{'data':'" + data + "'}",
     contentType: "application/json; charset=utf-8",
     dataType: "json",
     async: true,
     success: function (data) {
     error: function (result) {


You can simply use SPServices.Cascading Dropdown

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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