How to navigate from usercontrol to webform using jquery ajax?
Hello Dears
The autocomplete Code that is related to dropdownlist which is inside an usercontrol , passing the parameters to a webService. through jquery ajax was impossible .so we had to call webservice using namespace, but under som condition it failed so we were forced to use webservice instead of webform but the below code failed too:
$.ajax({
type: "GET",
url: "/pages/ClientChangeManager.aspx",
dataType: "json",
data: "{}",
contentType: "application/json; charset=utf-8",
success: function (data) {
alert("Hello");
var datafromServer = data.d.split(":");
$('#<%=txtCtgSearchWord.ClientID %>').autocomplete({
source: datafromServer
});
}
});