<?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>Chris: Geek Guy &#187; paragraph</title>
	<atom:link href="http://chris.gg/tag/paragraph/feed/" rel="self" type="application/rss+xml" />
	<link>http://chris.gg</link>
	<description>Tech news and other stuff from a UK-based web developer and all-round geek</description>
	<lastBuildDate>Tue, 06 Dec 2011 19:40:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>FreeTextBox: How to fix &#8220;The type or namespace name &#8216;Toolbar&#8217; could not be found&#8221;</title>
		<link>http://chris.gg/2010/02/freetextbox-how-to-fix-the-type-or-namespace-name-toolbar-could-not-be-found/</link>
		<comments>http://chris.gg/2010/02/freetextbox-how-to-fix-the-type-or-namespace-name-toolbar-could-not-be-found/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 11:57:38 +0000</pubDate>
		<dc:creator>Chris Barnes</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[freetextbox]]></category>
		<category><![CDATA[freetextboxcontrols]]></category>
		<category><![CDATA[ftb]]></category>
		<category><![CDATA[namespace]]></category>
		<category><![CDATA[paragraph]]></category>
		<category><![CDATA[toolbar]]></category>
		<category><![CDATA[using]]></category>
		<guid isPermaLink="false">http://chris.gg/?p=614</guid>
		<description><![CDATA[I&#8217;m working on a Visual Studio 2005 ASP.NET project which makes use of FreeTextBox to provide rich text editing capability. My code sets up the toolbar programmatically but, despite following the installation instructions to the letter (including setting up the FTB TagPrefix), my code was failing to compile with The type or namespace name &#8216;Toolbar&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a Visual Studio 2005 ASP.NET project which makes use of <a href="http://freetextbox.com/">FreeTextBox</a> to provide rich text editing capability. My code <a href="http://wiki.freetextbox.com/default.aspx/FreeTextBoxWiki.ToolbarConfiguration">sets up the toolbar programmatically</a> but, despite following the <a href="http://wiki.freetextbox.com/default.aspx/FreeTextBoxWiki.Installation">installation instructions</a> to the letter (including setting up the FTB TagPrefix), my code was failing to compile with <strong>The type or namespace name &#8216;Toolbar&#8217; could not be found</strong> on the following line of code:</p>
<pre lang="csharp">Toolbar ftbTools = new Toolbar();</pre>
<p>I initially fixed this by adding the FreeTextBoxControls prefix:</p>
<pre lang="csharp">FreeTextBoxControls.Toolbar ftbTools =
                             new FreeTextBoxControls.Toolbar();</pre>
<p>But then my code fell over with a similar error on the very next line:</p>
<pre lang="csharp">ftbTools.Items.Add(new ParagraphMenu());</pre>
<p>Not wanting to have to add the <strong>FreeTextBoxControls</strong> prefix to this and my other 18 <strong>Add</strong> statements, I instead added<strong> </strong>the following <strong>using </strong>statement to my code file:</p>
<pre lang="csharp">using FreeTextBoxControls;</pre>
<p>Job done!</p>
]]></content:encoded>
			<wfw:commentRss>http://chris.gg/2010/02/freetextbox-how-to-fix-the-type-or-namespace-name-toolbar-could-not-be-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

