1. Ajax toolkit: AutoCompleteExtender
Reference:
http://www.asp.net/ajax/ajaxcontroltoolkit/samples/autocomplete/autocomplete.aspx
2. JQuery+Web service
http://rayaspnet.blogspot.com/2011/01/how-to-call-aspnet-web-service-from.html
Wednesday, January 19, 2011
How to set focus on first enabled textbox in ASP.net by JQuery?
$(document).ready(function () {
$("input:text:visible:first").focus();
});
$("input:text:visible:first").focus();
});
Tuesday, January 18, 2011
How to call asp.net web service from Jquery?
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: '<%=ResolveClientUrl("~/WebServices/example.asmx/Method")%>',
data: "{'parameter1':'" + parametervalue1 + "'}",
dataType: "json",
async: false,
success: function (data) {alert(data.d);}
}); Reference:
How to detect Copy Cut and Paste actions on Textbox in JQuery
$("#<%=Textbox1.ClientID %>").bind('cut copy paste', function(e){ alert(e.type + ' text!'); });
Subscribe to:
Posts (Atom)