<?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>Cal Jacobson&#039;s Blog &#187; ASP.NET</title>
	<atom:link href="http://blog.caljacobson.com/category/asp-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.caljacobson.com</link>
	<description>Breathtaking in its unremarkability.</description>
	<lastBuildDate>Sat, 15 May 2010 08:30:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Lightbox JS and Lightbox.NET</title>
		<link>http://blog.caljacobson.com/2006/05/20/lightbox-js-and-lightboxnet/</link>
		<comments>http://blog.caljacobson.com/2006/05/20/lightbox-js-and-lightboxnet/#comments</comments>
		<pubDate>Sat, 20 May 2006 20:48:04 +0000</pubDate>
		<dc:creator>Cal</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://blog.caljacobson.com/2006/05/20/lightbox-js-and-lightboxnet/</guid>
		<description><![CDATA[Although the underlying capability has existed for years, it seems that within the last 12-18 months there has been an explosion of new Javascript libraries and widgets designed to support really slick web application features. One of the slickest is Lightbox JS by Lokesh Dhakar. Lightbox JS (and Lightbox JS 2.0, the most recent and [...]]]></description>
			<content:encoded><![CDATA[<p>Although the underlying capability has existed for years, it seems that within the last 12-18 months there has been an explosion of new Javascript libraries and widgets designed to support really slick web application features. One of the slickest is <a target="_blank" href="http://www.huddletogether.com/projects/lightbox2/" title="Lightbox JS 2.0 homepage">Lightbox JS</a> by Lokesh Dhakar.</p>
<p>Lightbox JS (and Lightbox JS 2.0, the most recent and even more impressive incarnation) allows you to display large images in a web page without sacrificing real estate. Go <a target="_blank" href="http://www.huddletogether.com/projects/lightbox2/" title="Lightbox JS demo">give it a try</a> to see what I&#8217;m talking about &#8212; it&#8217;ll be much easier to understand than an additional paragraph of my ramblings.</p>
<p>I thought the Lightbox capabilities would be a nice touch to an ASP.NET application I&#8217;m currently working on, so I set about trying to make a full-blown custom web control so I could just drag a Lightbox onto a page during design-time instead of mucking about in script. The end result was&#8230;<em>satisfactory</em>. I had a custom control that inherited from System.Web.UI.WebControls.WebControl and could be sized and styled and dealt with all the Lightbox JS-related items (scripts, stylesheets, images) as Embedded Resources.</p>
<p>But it still seemed clunky. So I was quite happy to stumble across <a target="_blank" href="http://blog.lozanotek.com/archive/2006/05/04/lightboxnet.aspx" title="Lightbox.NET introductory post">Lightbox.NET</a>, a very similar control developed by <a target="_blank" href="http://blog.lozanotek.com/" title="Javier's home page">Javier G. Lozano</a>. You can find the source as well as additional comments about the differences between the two approaches <a href="http://blog.lozanotek.com/archive/2006/05/10/10186.aspx" title="Lightbox.NET source code">here</a>.</p>
<p><b>Update (7/10/07)</b>: Fixed URLs.  Additionally, Lightbox.NET is now a project at CodePlex and may be found <a href="http://www.codeplex.com/lbnet" title="Lightbox.NET @ CodePlex">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.caljacobson.com/2006/05/20/lightbox-js-and-lightboxnet/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>FCKeditor vs. FreeTextBox</title>
		<link>http://blog.caljacobson.com/2006/05/04/fckeditor-vs-freetextbox/</link>
		<comments>http://blog.caljacobson.com/2006/05/04/fckeditor-vs-freetextbox/#comments</comments>
		<pubDate>Thu, 04 May 2006 12:33:39 +0000</pubDate>
		<dc:creator>Cal</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://blog.caljacobson.com/2006/05/04/fckeditor-vs-freetextbox/</guid>
		<description><![CDATA[My current project at work &#8212; an ambitious ASP.NET 2.0 application &#8212; is in need of an inline, user-friendly text editor. After a bout of Googling, I narrowed the list of contenders down to FCKeditor and FreeTextBox. Both offered what I was looking for: a free (or low-cost) cross-browser solution with a MS Word-like interface. [...]]]></description>
			<content:encoded><![CDATA[<p>My current project at work &#8212; an ambitious ASP.NET 2.0 application &#8212; is in need of an inline, user-friendly text editor. After a bout of Googling, I narrowed the list of contenders down to <a href="http://www.fckeditor.net/">FCKeditor </a>and <a href="http://freetextbox.com/">FreeTextBox</a>. Both offered what I was looking for: a free (or low-cost) cross-browser solution with a MS Word-like interface. FCKeditor featured a nice variety of sample projects and could be implemented strictly in JavaScript; FreeTextBox was a full-on ASP.NET web component. I played around with both and discovered that the sticky wicket was spell checking, of all things.</p>
<p>FCKeditor utilized ieSpell and Speller Pages; the former being an installable, Internet-Explorer only spellchecker and the latter being a PHP-based option. ieSpell was right out: although our client uses IE 6 exclusively, there was no guarantee that they would continue to do so throughout the life of the project&#8230;as a result we were using Firefox 1.5 as a sanity check to avoid future headaches (either due to a full switch to another browser or the compatibility issues that IE 7 threatens to bring). If that weren&#39;t enough, our client&#39;s systems are locked down so much that it would be unlikely that ieSpell could be easily installed on users&#39; machines.</p>
<p>FreeTextBox also used ieSpell in addition to <a href="http://www.loresoft.com/Applications/NetSpell/default.aspx">NetSpell</a>, which is an Open Source .NET project. Hey, this was perfect! Drag, drop, fire and forget!</p>
<p>Well, not exactly. NetSpell isn&#39;t included with the FTB distribution and it doesn&#39;t recognize the DLL if you just drop it into /Bin, no matter how nicely you ask. FreeTextBox&#39;s advantage over FCKeditor evaporated.</p>
<p>Both editors have pretty anemic documentation &#8212; to use a map analogy it&#39;s good enough to get you from home to the grocery store and back, but you&#39;re completely screwed if you&#39;re also trying to go to the library&#8230;let alone if you wanted to take a shortcut through a park or two. I realize that this is to be expected for most Open Source projects, but it&#39;s a little disheartening to see FreeTextBox suffer from it as well&#8230;and in fact FCKeditor had better documentation in this case though its wiki is in dire need of some work.</p>
<p>I decided to take a look at the online demos of both widgets. No dice: FCKeditor doesn&#39;t even enable the spell check button, and FreeTextBox displays a &quot;NetSpell libraries not properly linked&quot; alertbox. Gee, thanks.</p>
<p>That left only one option: wading through forums. Ugh. Your mileage may vary, but more often than not I feel dumber and angrier after going through support forums&#8230;usually after running across a half-dozen or so posts like this:</p>
<blockquote><p>I&#39;m having trouble trying to get X to do Y and I&#39;m getting error Z. Help!</p></blockquote>
<p>Ok, that in itself isn&#39;t too bad&#8230;I usually come across these posts because I&#39;m getting error Z. What causes my head to explode are the follow-ups by the original poster that inevitably look like this:</p>
<blockquote><p>Never mind, I figured it out.</p></blockquote>
<p>&#8230;with no further details. Every fiber of my being craves the ability to inflict pain upon such morons (or <a href="http://www.slash7.com/pages/vampires">Help Vampires</a>, to use the scientific term).</p>
<p>But I digress. After unsuccessfully surfing through the FCKeditor forums at <a href="http://www.sourceforge.net/">SourceForge</a> (which are abysmal by default since there&#39;s no way to search for a topic) and the FreeTextBox forums, I came across <a href="http://freetextbox.com/forums/thread/2365.aspx">this post by Drone</a> where all was revealed. Well, enough was revealed for my purposes at least. Drone is my hero, even if he doesn&#39;t know it.</p>
<p>As a result, I was able to get FreeTextBox up and running on our development website. That is, until <a href="http://freetextbox.com/forums/thread/6033.aspx">another cryptic error</a> cropped up today. A FTB developer responded and said it would be fixed in Monday&#39;s release&#8230;unfortunately it&#39;s now Thursday. I&#39;m hoping that he&#39;s just swamped and the solution is forthcoming, because at this point it would really suck to switch to FCKeditor. Stay tuned, I guess. <a href="http://www.sourceforge.net/"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.caljacobson.com/2006/05/04/fckeditor-vs-freetextbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
