<?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>Migrating from Visual Studio .NET 2003 to Visual Studio 2005 </title><link>http://forums.asp.net/1012.aspx</link><description>Discuss issues, strategies, tips, etc. for migrating from Visual Studio .NET 2003 to Visual Studio 2005</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Convert 2003 to 2005 problem: LinkButton JavaScript error: WebForm_DoPostBackWithOptions undefined</title><link>http://forums.asp.net/thread/2969472.aspx</link><pubDate>Thu, 26 Feb 2009 20:14:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2969472</guid><dc:creator>g4j</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2969472.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=2969472</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I was developing a ASP.net 2.0 website (started in Net 2.0) and had the same problem. It seem that the problem was that I had remove (commented) the &amp;lt;form&amp;gt; tag form my master page (I was using &amp;lt;div&amp;gt; as my main container). It seem that ASP.net needs these tag do what ever they need to do.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I hope this works for you guys too.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Arrrrr.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;God Bless! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Convert 2003 to 2005 problem: LinkButton JavaScript error: WebForm_DoPostBackWithOptions undefined</title><link>http://forums.asp.net/thread/2122120.aspx</link><pubDate>Mon, 21 Jan 2008 13:11:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2122120</guid><dc:creator>ghazzaghi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2122120.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=2122120</wfw:commentRss><description>&lt;p&gt;Hi &lt;br /&gt;This Problem occures when you developed your project in .net1.1 and you wnt to publish it on servever with .net2.&lt;/p&gt;
&lt;p&gt;Solution:&lt;/p&gt;
&lt;p&gt;In IIS while creating virtual directory,&amp;nbsp;in the properties window of your web,in the ASP.NET Tab: in the field of asp.net version select: 1.1.4 instead of 2&lt;/p&gt;
&lt;p&gt;Is it so easy?!&lt;img src="http://forums.asp.net/emoticons/emotion-5.gif" alt="Wink" /&gt;&lt;/p&gt;
&lt;p&gt;Good Luck&lt;/p&gt;</description></item><item><title>Re: Convert 2003 to 2005 problem: LinkButton JavaScript error: WebForm_DoPostBackWithOptions undefined</title><link>http://forums.asp.net/thread/1719869.aspx</link><pubDate>Tue, 22 May 2007 17:02:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1719869</guid><dc:creator>Thelma</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1719869.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=1719869</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I also could not get session to work with Application_PreRequestHandlerExecute in ASP.NET 2.0.&lt;/p&gt;
&lt;p&gt;Finally after alot of searching&amp;nbsp;found this link:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.velocityreviews.com/forums/t282576-aspnet-20-session-availability-in-globalasax.html"&gt;http://www.velocityreviews.com/forums/t282576-aspnet-20-session-availability-in-globalasax.html&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Basically you check to see if the request uses sessions first before looking to access session variables.&lt;/p&gt;
&lt;p&gt;Thel&lt;/p&gt;</description></item><item><title>Re: Convert 2003 to 2005 problem: LinkButton JavaScript error: WebForm_DoPostBackWithOptions undefined</title><link>http://forums.asp.net/thread/1500404.aspx</link><pubDate>Mon, 18 Dec 2006 10:04:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1500404</guid><dc:creator>kira1</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1500404.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=1500404</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In case anyone else experiences this problem and finds this post I have now fixed this. Problem was that the request to the server for WebResource.axd (which nows happens in .Net 2.0) actually triggers &lt;font size=2&gt;Application_PreRequestHandlerExecute from within Global.asax.cs &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;So, not only does any code in there now get run twice but for some reason my refernce to a session variable != null was throwing a .Net 500 error 'null reference' which was not visible until I used Fiddler to examine the requests to the server.&amp;nbsp;&amp;nbsp;The page still loaded OK but the error meant that some of teh required javascript was not sent with it.&amp;nbsp;&amp;nbsp; I have&amp;nbsp;removed all code from Application_PreRequestHandlerExecute and the error has gone away and all teh javascript now gets sent. So, no error on my Update and Add LinkButtons in my DataGrid.&amp;nbsp; Not that any of the 'snap-on' .Net JavaScript Validation does anything in any browser other than IE, (making it useless!) .. but thats another days problem...&lt;/p&gt;
&lt;p&gt;Cheers&lt;br /&gt;Al&lt;/p&gt;</description></item><item><title>Convert 2003 to 2005 problem: LinkButton JavaScript error: WebForm_DoPostBackWithOptions undefined</title><link>http://forums.asp.net/thread/1495785.aspx</link><pubDate>Wed, 13 Dec 2006 15:07:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1495785</guid><dc:creator>kira1</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1495785.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=1495785</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have converted my project from .Net 1.1 in VS 2003 to .Net 2.0 in VS 2005 (web application). &lt;/p&gt;
&lt;p&gt;My link buttons which have validation on them now dont work. These are EDIT and ADD links in my datagrids. They fire a javascript called &lt;strong&gt;WebForm_DoPostBackWithOptions&lt;/strong&gt; which is missing. I have googled a long time on this and cant find a definitive answer.&lt;/p&gt;
&lt;p&gt;Some say it is HTTP Modules that need removed from web.config but I am only using 1 NeatUpload by Brettle Development. I removed it anyway but this makes no difference.&lt;/p&gt;
&lt;p&gt;Other advice was that &lt;strong&gt;WebResource.axd&lt;/strong&gt; file was not referenced in the page source but it is.&lt;/p&gt;
&lt;p&gt;Another suggestion I found (but with no solution) was it was a problem with &lt;strong&gt;WebUIValidation.js&lt;/strong&gt; file (but the post did not say what!).&lt;/p&gt;
&lt;p&gt;When viewing the source in the browser &lt;strong&gt;__doPostBack&lt;/strong&gt; js function is present (and works on 'delete' and 'cancel' linkbuttons&amp;nbsp; - but my 'edit' and 'add' link buttons call&amp;nbsp;&lt;strong&gt;&amp;nbsp;WebForm_DoPostBackWithOptions&lt;/strong&gt; (which I assuming is new in 2.0 and called due to the validation) and&amp;nbsp;it is not present in the page source.&amp;nbsp; Do I need to manually update the&lt;strong&gt; WebUIValidation.js&lt;/strong&gt; for my converted project anbd if so how do i do that?&lt;/p&gt;
&lt;p&gt;Help!&lt;/p&gt;
&lt;p&gt;Cheers&lt;br /&gt;Alan&lt;/p&gt;</description></item></channel></rss>