<?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 Discussion and Suggestions</title><link>http://forums.asp.net/1007.aspx</link><description>This forum is the place for ASP.NET AJAX 'getting started' questions, general questions that don't fit in one of the other forums about AJAX </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Reference error when use Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager, please help.</title><link>http://forums.asp.net/thread/1460580.aspx</link><pubDate>Fri, 10 Nov 2006 18:33:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1460580</guid><dc:creator>axshon</dc:creator><author>axshon</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1460580.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1460580</wfw:commentRss><description>&lt;p&gt;I am currently running the latest beta for asp ajax, IE7, Office 2003 and Office 2007 latest beta.&amp;nbsp;Perhaps of note also, I&amp;nbsp;currently cannot&amp;nbsp;install .net framework 1.1 Sp1. Windows update fails with no message.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When I add the following to my master page script manager per another thread:&lt;/p&gt;&lt;font color=#0000ff size=1&gt;
&lt;p&gt;&amp;lt;&lt;/p&gt;&lt;/font&gt;&lt;font color=#800000 size=1&gt;asp&lt;/font&gt;&lt;font color=#0000ff size=1&gt;:&lt;/font&gt;&lt;font color=#800000 size=1&gt;ScriptManager&lt;/font&gt;&lt;font size=1&gt; &lt;/font&gt;&lt;font color=#ff0000 size=1&gt;ID&lt;/font&gt;&lt;font color=#0000ff size=1&gt;="ScriptManager1"&lt;/font&gt;&lt;font size=1&gt; &lt;/font&gt;&lt;font color=#ff0000 size=1&gt;runat&lt;/font&gt;&lt;font color=#0000ff size=1&gt;="server"&amp;gt;&lt;/font&gt;&lt;font size=1&gt;
&lt;p&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=#0000ff size=1&gt;&amp;lt;&lt;/font&gt;&lt;font color=#800000 size=1&gt;Scripts&lt;/font&gt;&lt;font color=#0000ff size=1&gt;&amp;gt;&lt;/font&gt;&lt;font size=1&gt;
&lt;p&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=#0000ff size=1&gt;&amp;lt;&lt;/font&gt;&lt;font color=#800000 size=1&gt;asp&lt;/font&gt;&lt;font color=#0000ff size=1&gt;:&lt;/font&gt;&lt;font color=#800000 size=1&gt;ScriptReference&lt;/font&gt;&lt;font size=1&gt; &lt;/font&gt;&lt;font color=#ff0000 size=1&gt;Assembly&lt;/font&gt;&lt;font color=#0000ff size=1&gt;="Microsoft.Web.Preview"&lt;/font&gt;&lt;font size=1&gt; &lt;/font&gt;&lt;font color=#ff0000 size=1&gt;Name&lt;/font&gt;&lt;font color=#0000ff size=1&gt;="Microsoft.Web.Resources.ScriptLibrary.PreviewScript.js"&lt;/font&gt;&lt;font size=1&gt; &lt;/font&gt;&lt;font color=#0000ff size=1&gt;/&amp;gt;&lt;/font&gt;&lt;font size=1&gt;
&lt;p&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=#0000ff size=1&gt;&amp;lt;&lt;/font&gt;&lt;font color=#800000 size=1&gt;asp&lt;/font&gt;&lt;font color=#0000ff size=1&gt;:&lt;/font&gt;&lt;font color=#800000 size=1&gt;ScriptReference&lt;/font&gt;&lt;font size=1&gt; &lt;/font&gt;&lt;font color=#ff0000 size=1&gt;Assembly&lt;/font&gt;&lt;font color=#0000ff size=1&gt;="Microsoft.Web.Preview"&lt;/font&gt;&lt;font size=1&gt; &lt;/font&gt;&lt;font color=#ff0000 size=1&gt;Name&lt;/font&gt;&lt;font color=#0000ff size=1&gt;="Microsoft.Web.Resources.ScriptLibrary.PreviewGlitz.js"&lt;/font&gt;&lt;font size=1&gt; &lt;/font&gt;&lt;font color=#0000ff size=1&gt;/&amp;gt;&lt;/font&gt;&lt;font size=1&gt;
&lt;p&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=#0000ff size=1&gt;&amp;lt;&lt;/font&gt;&lt;font color=#800000 size=1&gt;asp&lt;/font&gt;&lt;font color=#0000ff size=1&gt;:&lt;/font&gt;&lt;font color=#800000 size=1&gt;ScriptReference&lt;/font&gt;&lt;font size=1&gt; &lt;/font&gt;&lt;font color=#ff0000 size=1&gt;Assembly&lt;/font&gt;&lt;font color=#0000ff size=1&gt;="Microsoft.Web.Preview"&lt;/font&gt;&lt;font size=1&gt; &lt;/font&gt;&lt;font color=#ff0000 size=1&gt;Name&lt;/font&gt;&lt;font color=#0000ff size=1&gt;="Microsoft.Web.Resources.ScriptLibrary.PreviewDragDrop.js"&lt;/font&gt;&lt;font size=1&gt; &lt;/font&gt;&lt;font color=#0000ff size=1&gt;/&amp;gt;&lt;/font&gt;&lt;font size=1&gt;
&lt;p&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color=#0000ff size=1&gt;&amp;lt;/&lt;/font&gt;&lt;font color=#800000 size=1&gt;Scripts&lt;/font&gt;&lt;font color=#0000ff size=1&gt;&amp;gt;
&lt;p&gt;&amp;lt;/&lt;/p&gt;&lt;/font&gt;&lt;font color=#800000 size=1&gt;asp&lt;/font&gt;&lt;font color=#0000ff size=1&gt;:&lt;/font&gt;&lt;font color=#800000 size=1&gt;ScriptManager&lt;/font&gt;&lt;font color=#0000ff size=1&gt;&amp;gt;&lt;/font&gt;&lt;font size=1&gt; 
&lt;p&gt;&lt;/p&gt;&lt;/font&gt;&amp;nbsp;I get the following errors:
&lt;p&gt;&lt;em&gt;Could not load file or assembly 'Microsoft.Web.Preview' or one of its dependencies. The system cannot find the file specified.&lt;/em&gt; &lt;/p&gt;</description></item><item><title>Re: Reference error when use Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager, please help.</title><link>http://forums.asp.net/thread/1455672.aspx</link><pubDate>Tue, 07 Nov 2006 14:01:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1455672</guid><dc:creator>zati</dc:creator><author>zati</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1455672.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1455672</wfw:commentRss><description>it is now fixed in Beta 2 :)</description></item><item><title>Re: Reference error when use Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager, please help.</title><link>http://forums.asp.net/thread/1455497.aspx</link><pubDate>Tue, 07 Nov 2006 10:23:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1455497</guid><dc:creator>paulecoyote</dc:creator><author>paulecoyote</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1455497.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1455497</wfw:commentRss><description>&lt;p&gt;I wish I had found this thread BEFORE I tried to upgrade, having spent days trying to figure out what I was doing wrong and making all those namespace and classname changes. Now I either have to roll back my installation to a previous version or drop Atlas / Ajax extensions altogether.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I attempted the upgrade to try and sort out this issue:&lt;/p&gt;&lt;p&gt;&amp;lt;a href="http://forums.asp.net/thread/1412888.aspx"&amp;gt;http://forums.asp.net/thread/1412888.aspx&amp;lt;/a&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;blockquote&gt;&lt;div&gt;&lt;img src="http://forums.asp.net/Themes/default/images/icon-quote.gif" /&gt; &lt;strong&gt;paulecoyote:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/p&gt;&lt;p&gt;Microsoft.Web.UI.ScriptManager needs to be
changed to fix this problem with controls that must be declared early
on in the page cycle but aren't rendered in the end, as the client
script asserts because it tries to find things that are not actually
there.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I cannot effectively extend ScriptManager because:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;_scriptControls
is private, and there are no property accessor or mutators protected or
public that I can use to update the collection&lt;/li&gt;&lt;li&gt;IScriptControlContainer
only has RegisterControl, and no mirror UnregisterControl method -
which would seem to be the best place to put UnRegisterControl if it
were to be implemented.&lt;/li&gt;&lt;li&gt;IScriptManager is an internal interface, so that means I can't inherit that from a seperate assembly&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Is
this the right forum to post in to get the attention of Atlas
developers?&amp;nbsp; Is there some other way I should submit this change
request?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Reference error when use Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager, please help.</title><link>http://forums.asp.net/thread/1442986.aspx</link><pubDate>Thu, 26 Oct 2006 19:52:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1442986</guid><dc:creator>flaxon</dc:creator><author>flaxon</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1442986.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1442986</wfw:commentRss><description>Do you plan to update the current release soon?</description></item><item><title>Re: Reference error when use Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager, please help.</title><link>http://forums.asp.net/thread/1442708.aspx</link><pubDate>Thu, 26 Oct 2006 16:42:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1442708</guid><dc:creator>chenriks</dc:creator><author>chenriks</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1442708.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1442708</wfw:commentRss><description>The 10/20 Preview release has a bug where the web part controls register the required scripts (Preview, DragDrop, WebPart) improperly.&amp;nbsp; The bug had been fixed internally, but somehow didn&amp;#39;t get into the release.&amp;nbsp; Unfortunately, there&amp;#39;s not a workaround.</description></item><item><title>Re: Reference error when use Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager, please help.</title><link>http://forums.asp.net/thread/1442174.aspx</link><pubDate>Thu, 26 Oct 2006 08:30:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1442174</guid><dc:creator>flaxon</dc:creator><author>flaxon</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1442174.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1442174</wfw:commentRss><description>&lt;p&gt;For the WebParts look here: &lt;a href="http://forums.asp.net/thread/1437920.aspx"&gt;http://forums.asp.net/thread/1437920.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;However, have you tried remapping the WebPartManger and WebPartsZone controls in web.config (like it was in CTP 07)?&lt;/p&gt;</description></item><item><title>Re: Reference error when use Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager, please help.</title><link>http://forums.asp.net/thread/1441900.aspx</link><pubDate>Thu, 26 Oct 2006 03:09:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1441900</guid><dc:creator>geoffakens</dc:creator><author>geoffakens</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1441900.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1441900</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m seeing the same thing.&amp;nbsp; To keep things simple and ensure it wasn&amp;#39;t some issue with my more complex project, I created a new project from the &amp;#39;ASP.NET AJAX-Enabled Web Site&amp;#39; template.&amp;nbsp; Then I added the following to my web.config file:&lt;/p&gt;&lt;pre class="coloredcode"&gt;&amp;lt;&lt;span class="tag"&gt;system.web&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span class="tag"&gt;pages&lt;/span&gt;&amp;gt;
       &amp;lt;&lt;span class="tag"&gt;controls&lt;/span&gt;&amp;gt;
          ...
          &amp;lt;&lt;span class="tag"&gt;add&lt;/span&gt;&lt;span class="attr"&gt; namespace=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Microsoft.Web.Preview.UI.Controls.WebParts&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; assembly=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Microsoft.Web.Preview&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; tagPrefix=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;ajax&amp;quot;&lt;/span&gt;/&amp;gt;
       &amp;lt;/&lt;span class="tag"&gt;controls&lt;/span&gt;&amp;gt;
       ...
    &amp;lt;/&lt;span class="tag"&gt;pages&lt;/span&gt;&amp;gt;
    ...
&amp;lt;/&lt;span class="tag"&gt;system.web&lt;/span&gt;&amp;gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;Next, I added the following to my Default.aspx page:&lt;/p&gt;&lt;pre class="coloredcode"&gt;&amp;lt;&lt;span class="tag"&gt;ajax:WebPartManager&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;TheManager&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;ajax:WebPartZone&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;TheZone&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;ZoneTemplate&lt;/span&gt;&amp;gt;
        &amp;lt;&lt;span class="tag"&gt;asp:Calendar&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;TheCalendar&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:Calendar&lt;/span&gt;&amp;gt;
    &amp;lt;/&lt;span class="tag"&gt;ZoneTemplate&lt;/span&gt;&amp;gt;
&amp;lt;/&lt;span class="tag"&gt;ajax:WebPartZone&lt;/span&gt;&amp;gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;Finally, I added a reference to the Microsoft.Web.Preview.dll to my project.&lt;/p&gt;&lt;p&gt;With the above code, I get the error you&amp;#39;re getting.&amp;nbsp; However, if I change the &amp;#39;ajax&amp;#39; tag prefix to &amp;#39;asp&amp;#39; and use the System.Web.UI.WebControls.WebParts classes instead, it all works fine.&amp;nbsp; Seems like the AJAX-enabled versions are broken in the beta release.&amp;nbsp; They worked fine in the July CTP.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Reference error when use Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager, please help.</title><link>http://forums.asp.net/thread/1437369.aspx</link><pubDate>Mon, 23 Oct 2006 07:23:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1437369</guid><dc:creator>wyx2000</dc:creator><author>wyx2000</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1437369.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1437369</wfw:commentRss><description>&lt;p&gt;After I installed the value-add and build my webpartmanager on Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager, I get error &lt;/p&gt;&lt;p&gt;&lt;em&gt;Could not load file or assembly &amp;#39;Microsoft.Web.Resources.ScriptLibrary.PreviewDragDrop.js&amp;#39; or one of its dependencies. The system cannot find the file specified.&lt;/em&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Stack Trace:&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#ffffcc"&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;&lt;pre&gt;[FileNotFoundException: Could not load file or assembly &amp;#39;Microsoft.Web.Resources.ScriptLibrary.PreviewDragDrop.js&amp;#39; or one of its dependencies. The system cannot find the file specified.]
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp;amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp;amp; stackMark, Boolean forIntrospection) +211
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp;amp; stackMark, Boolean forIntrospection) +141
   System.Reflection.Assembly.Load(String assemblyString) +25
   Microsoft.Web.UI.AssemblyCache.Load(String assemblyName) +70
   Microsoft.Web.UI.ScriptReference.GetUrlFromName(ScriptManager scriptManager, IControl scriptManagerControl) +168
   Microsoft.Web.UI.ScriptReference.GetUrl(ScriptManager scriptManager, IControl scriptManagerControl) +808
   Microsoft.Web.UI.ScriptControlManager.RegisterScriptsForScriptReferences(IEnumerable`1 scriptReferences, Control control) +147
   Microsoft.Web.UI.ScriptControlManager.RegisterScriptsForScriptControls() +154
   Microsoft.Web.UI.ScriptManager.OnPreRender(EventArgs e) +395
   System.Web.UI.Control.PreRenderRecursiveInternal() +77
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;any idea what causes this error?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks&lt;/p&gt;</description></item></channel></rss>