<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Generation IT &#187; AJAX.NET</title>
	<atom:link href="http://blog.matthewdoyle.net/tag/ajaxnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.matthewdoyle.net</link>
	<description>Bridging the gap between business and information technology</description>
	<lastBuildDate>Sat, 29 Oct 2011 16:51:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Mini Post &#8211; DotNetNuke and web.config problems</title>
		<link>http://blog.matthewdoyle.net/2009/12/16/mini-post-dotnetnuke-and-web-config-problems/</link>
		<comments>http://blog.matthewdoyle.net/2009/12/16/mini-post-dotnetnuke-and-web-config-problems/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 19:50:38 +0000</pubDate>
		<dc:creator>Matthew Doyle</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[AJAX.NET]]></category>
		<category><![CDATA[DotNetNuke]]></category>
		<category><![CDATA[gotcha]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[lesson]]></category>

		<guid isPermaLink="false">http://blog.matthewdoyle.net/?p=127</guid>
		<description><![CDATA[I could have Twittered this but I wanted to put it here: Every now and again I find myself refreshing my developer's copy of my project on my local computer from source control. The way I have source control is primitive and probably incorrect. I tend to save ALL of my project (DotNetNuke included) into [...]]]></description>
			<content:encoded><![CDATA[<p>I could have Twittered this but I wanted to put it here:  Every now and again I find myself refreshing my developer's copy of my project on my local computer from source control.</p>
<p>The way I have source control is primitive and probably incorrect.  I tend to save ALL of my project (DotNetNuke included) into source control, so when I get a clean setup, I can basically run it out of the box.</p>
<p>This particular time, I was working with a different database than I normally do.  Because of this, my source control wrote over my web.config and copied the wrong database settings, which resulted in the web.config pointing to a no-longer existing database.</p>
<p>When I loaded up my website, I was greeted with the installation wizard from DotNetNuke.  "Okay," I thought, "Perhaps I forgot to update this particular database with the new DNN version."  I clicked on next a few times and realized it was just the wrong database being referenced.  I changed the web.config to be the correct database and credentials and all was well...</p>
<p>Or was it?</p>
<p>I loaded up my project and I was getting rather unhelpful "I need to put a ScriptManager on the page in order to use AJAX.net" error.  I just couldn't figure it out!  It worked before!  Long story short, the DNN install wizard messed around with the web.config and broke a few things configured specifically to my install.  Once I pulled up an older web.config, everything worked perfectly.</p>
<p>This wasted about 2 hours of my time (which I don't really have) and was easily avoidable if I was paying attention.</p>
<p><strong>Lesson learned: </strong>Always be methodical with processes which you perform regularly.  If something strange goes wrong within the process, it probably doesn't belong and should be approached very, VERY carefully.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.matthewdoyle.net/2009/12/16/mini-post-dotnetnuke-and-web-config-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ModalPopupExtender .Show() Caveat</title>
		<link>http://blog.matthewdoyle.net/2008/10/09/modalpopupextender-show-caveat/</link>
		<comments>http://blog.matthewdoyle.net/2008/10/09/modalpopupextender-show-caveat/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 01:25:07 +0000</pubDate>
		<dc:creator>Matthew Doyle</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[AJAX.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Solution]]></category>

		<guid isPermaLink="false">http://blog.matthewdoyle.net/?p=3</guid>
		<description><![CDATA[I'll admit it... I don't mind AJAX.NET.  In fact, I like a lot of the toolkit controls they provide.  Because I am "chained" to .NET and DotNetNuke, I don't much of a choice when it comes to bleeding-edge technology. One thing I tend to use frequently is the ModalPopupExtender.  I had a requirement to show [...]]]></description>
			<content:encoded><![CDATA[<p>I'll admit it... I don't mind AJAX.NET.  In fact, I like a lot of the toolkit controls they provide.  Because I am "chained" to .NET and DotNetNuke, I don't much of a choice when it comes to bleeding-edge technology.</p>
<p>One thing I tend to use frequently is the ModalPopupExtender.  I had a requirement to show the modal popup when the page loads.  Easy enough, I just instansiate the code and in the onLoad code-behind do mpe.Show().</p>
<p>However, this didn't work It gave me an ugly error.  After sifting through a bunch of unhelpful forum posts online, I came across <a href="http://www.codeplex.com/AjaxControlToolkit/WorkItem/View.aspx?WorkItemId=12835" target="_blank">this issue</a> in the AJAX Control Toolkit issue tracker.  Reading through the description, you notice that the problem has to do with the fact that there is a missing semi-colon if you try to invoke the modal through server-side on a page with validation.</p>
<p>Because the modal I was programming would not need the validation on the page, I simply turned off validation when the modal was invoked.  This worked like a charm.  If you require validation with the modal, I strongly suggest you check out the issue tracker page.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.matthewdoyle.net/2008/10/09/modalpopupextender-show-caveat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

