<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET AJAX Control Toolkit</title><link>http://forums.asp.net/1022.aspx</link><description>Here's your place to discuss everything in and about the AJAX Control Toolkit</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: AutoCompleteExtender - Aligning Popup position</title><link>http://forums.asp.net/thread/3280404.aspx</link><pubDate>Wed, 08 Jul 2009 05:33:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3280404</guid><dc:creator>faruz</dc:creator><author>faruz</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3280404.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=3280404</wfw:commentRss><description>&lt;p&gt;OK. That didn&amp;#39;t help.&lt;/p&gt;&lt;p&gt;I alerted the values of the _CompletionList position and the browser claims that the CompletionList never moved... &lt;/p&gt;&lt;p&gt;I attach here my JS segment to move the completionList position. (It also changes the width to be minimum the size of the textbox):&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre name="code" class="xhtml"&gt;function ResizeWidthAndPosition(sender,e)
{
  if (sender._completionListElement.offsetWidth&amp;lt;sender.get_element().offsetWidth)
  {
    sender._completionListElement.style.width = sender.get_element().offsetWidth+&amp;#39;px&amp;#39;;
    var tb = sender._element;
    var tbPos = [tb.offsetLeft + tb.offsetParent.offsetLeft, tb.offsetTop + tb.offsetParent.offsetTop];
    var xPos = tbPos[0]+9;
    var yPos = tbPos[1]+121;
    $common.setLocation(sender._completionListElement,new Sys.UI.Point(xPos,yPos));
  }
  else
    sender._completionListElement.style.width = &amp;#39;auto&amp;#39;;
}&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: AutoCompleteExtender - Aligning Popup position</title><link>http://forums.asp.net/thread/3280304.aspx</link><pubDate>Wed, 08 Jul 2009 04:24:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3280304</guid><dc:creator>faruz</dc:creator><author>faruz</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3280304.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=3280304</wfw:commentRss><description>&lt;p&gt;Yes, the event I wrote fixes the position.&lt;/p&gt;&lt;p&gt;Only problem is after a key was pressed that it loses position.&lt;/p&gt;&lt;p&gt;I&amp;#39;ll try to put the event in the textbox.keypress.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: AutoCompleteExtender - Aligning Popup position</title><link>http://forums.asp.net/thread/3278078.aspx</link><pubDate>Tue, 07 Jul 2009 05:33:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3278078</guid><dc:creator>Vince Xu - MSFT</dc:creator><author>Vince Xu - MSFT</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3278078.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=3278078</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;
&lt;p&gt;You can use this client event, and add_populated event maybe another choice. Did your code in onClientShown impacts on the position of&amp;nbsp;pop-out list? Or you can define keypress event of textbox to reset the location of pop-out list.&lt;/p&gt;</description></item><item><title>AutoCompleteExtender - Aligning Popup position</title><link>http://forums.asp.net/thread/3275215.aspx</link><pubDate>Sun, 05 Jul 2009 08:42:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275215</guid><dc:creator>faruz</dc:creator><author>faruz</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275215.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=3275215</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I&amp;#39;m working with the AutoCompleteExtender and have a problem aligning the results-popup with the textbox.&lt;/p&gt;&lt;p&gt;I&amp;#39;ve written a JS function that executes onClientShown of the extender, and it runs perfectly on first execution.&lt;/p&gt;&lt;p&gt;After I press any key (even alt+shift), the popup &amp;quot;jumps&amp;quot; about a 100 pixels to the left, where it stays until I press ESC and then it starts over.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Should I put my JS function somewhere else?&lt;/p&gt;&lt;p&gt;I&amp;#39;m using $common.SetLocation in my JS.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>