<?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: Known Issue &amp; Fix: Components that call web services no longer work after migrating to ASP.NET AJAX Beta 1</title><link>http://forums.asp.net/thread/1486430.aspx</link><pubDate>Tue, 05 Dec 2006 12:06:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1486430</guid><dc:creator>NNM</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1486430.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1486430</wfw:commentRss><description>"Methods cannot be declared as 'static'."</description></item><item><title>Re: Known Issue &amp; Fix: Components that call web services no longer work after migrating to ASP.NET AJAX Beta 1</title><link>http://forums.asp.net/thread/1451514.aspx</link><pubDate>Thu, 02 Nov 2006 23:05:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1451514</guid><dc:creator>fawlty</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1451514.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1451514</wfw:commentRss><description>OOps, wrong thread. &lt;img src="http://forums.asp.net/emoticons/emotion-10.gif" alt="Embarrassed" /&gt;</description></item><item><title>Re: Known Issue &amp; Fix: Components that call web services no longer work after migrating to ASP.NET AJAX Beta 1</title><link>http://forums.asp.net/thread/1451513.aspx</link><pubDate>Thu, 02 Nov 2006 23:04:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1451513</guid><dc:creator>fawlty</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1451513.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1451513</wfw:commentRss><description>&lt;p&gt;I hope a fix for this comes out soon, as I assume this is important for many of us. It&amp;#39;s funny that the HoverMenu showcase page on the website&amp;nbsp;had to remove functionality because of this bug...&lt;/p&gt;</description></item><item><title>Re: Known Issue &amp; Fix: Components that call web services no longer work after migrating to ASP.NET AJAX Beta 1</title><link>http://forums.asp.net/thread/1448187.aspx</link><pubDate>Tue, 31 Oct 2006 17:09:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1448187</guid><dc:creator>mogmem</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1448187.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1448187</wfw:commentRss><description>Greetings,&lt;br /&gt;&lt;br /&gt;Being able to access a page scoped variable via an instance method on a codebehind Page using (ex) Sys.Net.PageMethod.invoke has been key to our planned use of the Microsoft Ajax framework. The workaround and limitation to a static method call as described doesn&amp;#39;t address that requirement and doesn&amp;#39;t provide a fix to the lost functionality.&lt;br /&gt;&lt;br /&gt;Please could someone suggest how we might now alternativey modify a page scoped variable sourced on a clientside Javascript event in the current Ajax framework and/or could someone in the Microsoft team make a statement to confirm that the functionality will be returned in an upcoming release, either way so that we can plan accordingly. &lt;br /&gt;&lt;br /&gt;Example of issue:&lt;br /&gt;The AjaxControlkit DynamicPopulate sample&amp;#39;s use of the GetHtml method in the change from Atlas (ie. Microsoft.Web.Atlas.dll build 2.0.50727.60725 release) to Ajax 1.0 Beta is a good representation of the issue and the functionality we&amp;#39;d like to see back in the framework.&lt;br /&gt;&lt;br /&gt;Thx!&lt;br /&gt;Marc&lt;br /&gt;</description></item><item><title>Re: Known Issue &amp; Fix: Components that call web services no longer work after migrating to ASP.NET AJAX Beta 1</title><link>http://forums.asp.net/thread/1444142.aspx</link><pubDate>Fri, 27 Oct 2006 15:44:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1444142</guid><dc:creator>XIII</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1444142.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1444142</wfw:commentRss><description>&lt;p&gt;It seems you&amp;#39;re not the only one with that point of view: &lt;a href="http://weblogs.asp.net/despos/archive/2006/10/25/Don_2700_t-call-it-Beta-1.aspx"&gt;http://weblogs.asp.net/despos/archive/2006/10/25/Don_2700_t-call-it-Beta-1.aspx&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Hopefully Microsoft will clear things up a bit at TechEd Barcelona in a couple of weeks.&lt;/p&gt;&lt;p&gt;Grz, Kris.&lt;/p&gt;</description></item><item><title>Re: Known Issue &amp; Fix: Components that call web services no longer work after migrating to ASP.NET AJAX Beta 1</title><link>http://forums.asp.net/thread/1443114.aspx</link><pubDate>Thu, 26 Oct 2006 22:00:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1443114</guid><dc:creator>jtheisenpdx</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1443114.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1443114</wfw:commentRss><description>I am rolling back to the previous (pre Beta 1) version of AJAX, Atlas, because this new release is not even close to ready yet. I can live with having to put the code in the page. I CANNOT live with this method having to be declared as static! Having a contextKey is not nearly as flexible as the previous model. If this is the way that the AJAX library is heading, then I will need to look for an alternate JavaScript AJAX scripting library. Which is a shame as the Atlas version of this worked perfectly.&lt;br /&gt;</description></item><item><title>Known Issue &amp; Fix: Components that call web services no longer work after migrating to ASP.NET AJAX Beta 1</title><link>http://forums.asp.net/thread/1441680.aspx</link><pubDate>Wed, 25 Oct 2006 23:48:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1441680</guid><dc:creator>sburke_msft</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1441680.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1441680</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;Summary:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Components that call web services or page methods stop working after migrating to ASP.NET AJAX Beta 1.&amp;nbsp; You may see errors such as [Method Error 12031] or [Method Error 500].&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Web Services that you plan to call from client code must be decorated with the &lt;strong&gt;Microsoft.Web.Script.Services.ScriptServiceAttribute&lt;/strong&gt;.&lt;/p&gt;&lt;font size="2"&gt;&lt;p&gt;[Microsoft.Web.Script.Services.&lt;font color="#2b91af" size="2"&gt;ScriptService&lt;/font&gt;&lt;font size="2"&gt;()]&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;p&gt;public&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;class&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;MyService &lt;/font&gt;&lt;font size="2"&gt;: System.Web.Services.&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;WebService {&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;p&gt;&lt;font color="#2b91af"&gt;&amp;nbsp;// ...&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color="#2b91af" size="2"&gt;}&lt;/font&gt;&lt;/p&gt;&lt;p&gt;There has also been a change to the usage of PageMethods for ASP.NET AJAX Beta 1.&amp;nbsp; PageMethods must now be &lt;strong&gt;static&lt;/strong&gt; (&lt;strong&gt;Shared&lt;/strong&gt; in VB) in order for them to be accessible from script, and must be decorated with the &lt;strong&gt;Microsoft.Web.Script.Services.ScriptMethodAttribute.&lt;/strong&gt;&amp;nbsp; Moreover, due to a known issue in ASP.NET AJAX Beta 1, they must be delcared in the ASPX file, and will not work if declared in the code behind file:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;p&gt;&amp;lt;&lt;font color="#a31515" size="2"&gt;script&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;runat&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;server&amp;quot;&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;blockquote&gt;&lt;p&gt;[System.Web.Services.&lt;font color="#2b91af" size="2"&gt;WebMethod&lt;/font&gt;&lt;font size="2"&gt;] &lt;p&gt;[Microsoft.Web.Script.Services.&lt;font color="#2b91af" size="2"&gt;ScriptMethod&lt;/font&gt;&lt;font size="2"&gt;] &lt;p&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;static&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;font size="2"&gt; GetHtml(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;font size="2"&gt; contextKey) { &lt;blockquote&gt;&lt;p&gt;&lt;font color="#008000" size="2"&gt;// ...&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;p&gt;&amp;lt;/&lt;font color="#a31515" size="2"&gt;script&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;font color="#2b91af" size="2"&gt;&lt;/font&gt;</description></item></channel></rss>