Using jQuery in a GridView?
Posted
by Matt
on Stack Overflow
See other posts from Stack Overflow
or by Matt
Published on 2010-04-02T16:34:55Z
Indexed on
2010/04/02
18:13 UTC
Read the original article
Hit count: 305
I have a traditional ASP.NET GridView. Inside of it I have a Template Field with edit capabilities. I need to use a jQuery autocomplete plugin on the edit piece. It works anywhere but inside of this GridView. In other words, I know the plugin works.
Here is the ASP.NET stuff (yes, I'm using a SqlDataSource):
<%# Eval("INGREDIENT_CODE") %>
And here is the jQuery in the document.ready():
$('[id$=txtEditIngredients]').autocomplete("LookupCodes.aspx?type=IC", { mustMatch: true });
What might I be doing wrong here?
© Stack Overflow or respective owner