Seeing the problem is easy

do a "View Source" of your page and you will see that using a
UserControl changes all the ID's and Names of controls because it
utilizies "INamingContainer" (watch video here:
http://www.detacheddesigns.com/blog/blogSpecific.aspx?BlogId=133)

Your choices are:
1) Use the generated IDs in your jQuery
or
2) Use the "ClientID()" server side




On Oct 22, 2:04 pm, maya86 <[EMAIL PROTECTED]> wrote:
> Dears,
> i added an autoComplete plug in , and i used the ".autocomplete"
> method in the plugin and it works fine when i use it in a page . aspx
> and it doesn't work fine in usercontrols, it says " object or property
> doesn't exist. please reply with an answer i can use

Reply via email to