<?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 UI</title><link>http://forums.asp.net/1008.aspx</link><description>Here you can discuss UI-related issues with AJAX such as controls and client-side functionality including Silverlight controls for ASP.NET</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: AutoCompleteExtender doesn't appear in the page</title><link>http://forums.asp.net/thread/1437775.aspx</link><pubDate>Mon, 23 Oct 2006 14:53:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1437775</guid><dc:creator>jbfurlong</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1437775.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1437775</wfw:commentRss><description>&lt;p&gt;You will also need the [ScriptMethod] on the Method&lt;/p&gt;&lt;font size="2"&gt;&lt;p&gt;[&lt;font color="#2b91af" size="2"&gt;WebMethod&lt;/font&gt;&lt;font size="2"&gt;][&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;ScriptMethod&lt;/font&gt;&lt;font size="2"&gt;]&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;String&lt;/font&gt;&lt;font size="2"&gt;[] GetCountriesWordList(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;font size="2"&gt; prefixText)&lt;br /&gt;{ etc....&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: AutoCompleteExtender doesn't appear in the page</title><link>http://forums.asp.net/thread/1437733.aspx</link><pubDate>Mon, 23 Oct 2006 14:26:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1437733</guid><dc:creator>Mattalone</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1437733.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1437733</wfw:commentRss><description>&lt;p&gt;Ok I found the problem: the WebService (now) needs the &lt;strong&gt;[ScriptService]&lt;/strong&gt; attribute during class declaration:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;span class="kwd"&gt;using&lt;/span&gt; System;
&lt;span class="kwd"&gt;using&lt;/span&gt; System.Web;
&lt;span class="kwd"&gt;using&lt;/span&gt; System.Collections;
&lt;span class="kwd"&gt;using&lt;/span&gt; System.Web.Services;
&lt;span class="kwd"&gt;using&lt;/span&gt; System.Web.Services.Protocols;
&lt;span class="kwd"&gt;using&lt;/span&gt; Microsoft.Web.Script.Services;


[ScriptService]
&lt;span class="kwd"&gt;public class&lt;/span&gt; WebServiceTest : System.Web.Services.WebService {

    &lt;span class="kwd"&gt;public&lt;/span&gt; WebServiceTest () {

        &lt;span class="cmt"&gt;//Uncomment the following line if using designed components 
        //InitializeComponent(); &lt;/span&gt;
    }

    [WebMethod]
    &lt;span class="kwd"&gt;public string&lt;/span&gt;[] GetSuggestions(&lt;span class="kwd"&gt;string&lt;/span&gt; prefixText, &lt;span class="kwd"&gt;int&lt;/span&gt; count)
    {
        &lt;span class="kwd"&gt;string&lt;/span&gt;[] r = &lt;span class="kwd"&gt;new string&lt;/span&gt;[count];
        &lt;span class="kwd"&gt;for&lt;/span&gt; (&lt;span class="kwd"&gt;int&lt;/span&gt; i = 0; i &amp;lt; r.Length; i++)
            r[i] = &lt;span class="kwd"&gt;string&lt;/span&gt;.Format(&lt;span class="st"&gt;&amp;quot;{0} ({1})&amp;quot;&lt;/span&gt;, prefixText, i);
        &lt;span class="kwd"&gt;return&lt;/span&gt; r;

    }    
}&lt;/pre&gt;&lt;img src="http://forums.asp.net/emoticons/emotion-5.gif" alt="Wink" /&gt;&amp;nbsp;</description></item><item><title>Re: AutoCompleteExtender doesn't appear in the page</title><link>http://forums.asp.net/thread/1437695.aspx</link><pubDate>Mon, 23 Oct 2006 13:51:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1437695</guid><dc:creator>Mattalone</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1437695.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1437695</wfw:commentRss><description>&lt;p&gt;Sorry but.. I need AjaxControlToolkit.dll in my Bin folder?&lt;br /&gt;I&amp;#39;m using AutoCompleteExtender class of Microsoft.Web.Preview.UI.Controls namespace.. &lt;img src="http://forums.asp.net/emoticons/emotion-42.gif" alt="Confused" /&gt;&lt;/p&gt;&lt;p&gt;By the way, I tried with it into Bin folder but nothing, the ACE doesn&amp;#39;t appears in the page.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: AutoCompleteExtender doesn't appear in the page</title><link>http://forums.asp.net/thread/1437674.aspx</link><pubDate>Mon, 23 Oct 2006 13:34:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1437674</guid><dc:creator>Shawn Shi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1437674.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1437674</wfw:commentRss><description>&lt;p&gt;Have you &lt;span style="font-size:10pt;font-family:Verdana;"&gt;installed the new ASP.NET AJAX Control Toolkit? Please update Bin\AjaxControlToolkit.dll with the new release.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Verdana;"&gt;I have a web site with the old Atlas Control Toolkit 914, after upgrading to Beta 1, most controls need re-config to work.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Verdana;"&gt;Shawn&lt;/span&gt;&lt;/p&gt;</description></item><item><title>AutoCompleteExtender doesn't appear in the page</title><link>http://forums.asp.net/thread/1437583.aspx</link><pubDate>Mon, 23 Oct 2006 12:05:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1437583</guid><dc:creator>Mattalone</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1437583.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1437583</wfw:commentRss><description>&lt;p&gt;Hi,&lt;br /&gt;I have some problem with the new release of AJAX 1.0 beta...&lt;br /&gt;My test&amp;nbsp;scenario is one .aspx page&amp;nbsp;like this:&amp;nbsp;&lt;font color="#0000ff" size="1"&gt;&lt;pre class="coloredcode"&gt;    &amp;lt;&lt;span class="tag"&gt;form&lt;/span&gt;&lt;span class="attr"&gt; id=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;form1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&amp;gt;
        &amp;lt;&lt;span class="tag"&gt;asp:ScriptManager&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;ScriptManager1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; /&amp;gt;
        &amp;lt;&lt;span class="tag"&gt;div&lt;/span&gt;&amp;gt;
            &amp;lt;&lt;span class="tag"&gt;asp:TextBox&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;TextBox1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class="tag"&gt;asp:TextBox&lt;/span&gt;&amp;gt;
            &amp;lt;&lt;span class="tag"&gt;asp:AutoCompleteExtender&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;AutoCompleteExtender1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; MinimumPrefixLength=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;2&amp;quot;&lt;/span&gt;
&lt;span class="attr"&gt;                ServiceMethod=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;GetSuggestions&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; ServicePath=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/WebServiceTest.asmx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; TargetControlID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;TextBox1&amp;quot;&lt;/span&gt; /&amp;gt;
        &amp;lt;/&lt;span class="tag"&gt;div&lt;/span&gt;&amp;gt;
    &amp;lt;/&lt;span class="tag"&gt;form&lt;/span&gt;&amp;gt;&lt;/pre&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;the WebService is:&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;span class="kwd"&gt;using&lt;/span&gt; System;
&lt;span class="kwd"&gt;using&lt;/span&gt; System.Web;
&lt;span class="kwd"&gt;using&lt;/span&gt; System.Collections;
&lt;span class="kwd"&gt;using&lt;/span&gt; System.Web.Services;
&lt;span class="kwd"&gt;using&lt;/span&gt; System.Web.Services.Protocols;
&lt;span class="kwd"&gt;using&lt;/span&gt; Microsoft.Web.Script.Services;


&lt;span class="cmt"&gt;/// &amp;lt;summary&amp;gt;
/// Summary description for WebServiceTest
/// &amp;lt;/summary&amp;gt;&lt;/span&gt;
[WebService(Namespace = &lt;span class="st"&gt;&amp;quot;http:&lt;span class="cmt"&gt;//tempuri.org/&amp;quot;)]&lt;/span&gt;
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class WebServiceTest : System.Web.Services.WebService {

    public WebServiceTest () {

        &lt;span class="cmt"&gt;//Uncomment the following line if using designed components 
        //InitializeComponent(); &lt;/span&gt;
    }

    [ScriptMethod]
    public string[] GetSuggestions(string prefixText, int count)
    {
        string[] r = new string[count];
        for (int i = 0; i &amp;lt; r.Length; i++)
            r[i] = string.Format(&amp;quot;&lt;/span&gt;{0} ({1})&amp;quot;, prefixText, i);
        &lt;span class="kwd"&gt;return&lt;/span&gt; r;

    }    
}&lt;/pre&gt;&amp;nbsp;&amp;nbsp; &lt;p&gt;the&amp;nbsp;Microsoft.Web.Preview.dll is in the BIN&amp;nbsp;folder,&lt;br /&gt;the web.config is correctly configured&amp;nbsp;(I read the .doc guide &amp;quot;from ATLAS to AJAX 1.0 beta&amp;quot;),&lt;/p&gt;&lt;p&gt;&lt;strong&gt;but&lt;/strong&gt;... the AutoCompleteExtender doesn&amp;#39;t apper in the page when I digit something in the TextBox. No JS errors, no compilation errors.. where&amp;nbsp;am&amp;nbsp;I&amp;nbsp;making mistake? &lt;img src="http://forums.asp.net/emoticons/emotion-10.gif" alt="Embarrassed" /&gt;&lt;/p&gt;&lt;p&gt;Thanks for every suggestion in advantage &lt;img src="http://forums.asp.net/emoticons/emotion-1.gif" alt="Smile" /&gt;&lt;/p&gt;&lt;p&gt;Ps. with the july CTP I didn&amp;#39;t have problems.. it was all ok...&lt;/p&gt;</description></item></channel></rss>