Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

In my ASP.NET application i have using an gridview with Jquery Autocomplete textbox which retrieves values from the Database through Handler(.ashx) file.


Here without UpdatePanel its works fine for me. To avoid Flickering, now i used UpdatePanel with contenttemplate tag, now my autocomplete textbox not showing the list. It remains static :(


How to enable Jquery Autocomplete Inside UpdatePanel ???
Posted
Updated 15-Nov-11 21:28pm
v2

1 solution

 
Share this answer
 
Comments
J.Karthick 16-Nov-11 7:13am    
Thanks a looooooooot for your link..but i got error like...

"Object Expected" in very first line..
I'm just begineer for JQUERY :(

Code is below please check this out

<script type="text/javascript">

$(function () //"Object Excepted" Error here
{
initializer();
});

var prmInstance = Sys.WebForms.PageRequestManager.getInstance(); //"Undefined variable Sys" error here

prmInstance.add_endRequest(function () {
//you need to re-bind your jquery events here
initializer();
});

function initializer()
{
$("#<%=txtproduct.ClientID%>").autocomplete('products.ashx');
}
</script>

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900