Setting Focus with ASP.NET AJAX Control Toolkit

Posted by Jonathan S. on Stack Overflow See other posts from Stack Overflow or by Jonathan S.
Published on 2008-09-03T23:29:43Z Indexed on 2010/03/23 16:53 UTC
Read the original article Hit count: 205

Filed under:
|

I'm using the AutoComplete control from the ASP.NET AJAX Control Toolkit and I'm experiencing an issue where the AutoComplete does not populate when I set the focus to the assigned textbox.

I've tried setting the focus in the Page_Load, Page_PreRender, and Page_Init events and the focus is set properly but the AutoComplete does not work. If I don't set the focus, everything works fine but I'd like to set it so the users don't have that extra click.

Is there a special place I need to set the focus or something else I need to do to make this work? Thanks.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about ajaxtoolkit