<?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>About Web Development by Activo &#187; User Controls</title>
	<atom:link href="http://www.activoinc.com/blog/tag/user-controls/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.activoinc.com/blog</link>
	<description>Web Development in a Web 2.0 World</description>
	<lastBuildDate>Fri, 29 Jan 2010 17:16:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ektron: Clarification on User Controls vs API</title>
		<link>http://www.activoinc.com/blog/2008/07/30/ektron-clarification-on-user-controls-vs-api/</link>
		<comments>http://www.activoinc.com/blog/2008/07/30/ektron-clarification-on-user-controls-vs-api/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 00:44:36 +0000</pubDate>
		<dc:creator>Ron Peled</dc:creator>
				<category><![CDATA[.NET Framework]]></category>
		<category><![CDATA[Ektron]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Ektron API]]></category>
		<category><![CDATA[Ektron CMS]]></category>
		<category><![CDATA[Ektron User Controls]]></category>
		<category><![CDATA[User Controls]]></category>

		<guid isPermaLink="false">http://www.activoinc.com/blog/?p=26</guid>
		<description><![CDATA[
We recently spotted an article from Bill Roger&#8217;s blog (Ektron&#8217;s CEO) which discusses usage of the Ektron Server Controls v.s. Ektron&#8217;s API. At Activo, we are constantly using both approaches and indeed each approach is a bit different and is used in different situations. The article makes it much clearer that Ektron actually put more [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 10]></p>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman","serif";}
</style>
<p><![endif]--></p>
<p class="MsoNormal">We recently spotted an article from Bill Roger&#8217;s blog (<a href="http://www.ektron.com/" target="_blank">Ektron</a>&#8217;s CEO) which discusses <a href="http://www.ektron.com/ceonotes.aspx?id=6442" target="_blank">usage of the Ektron Server Controls v.s. Ektron&#8217;s API</a>. At Activo, we are constantly using both approaches and indeed each approach is a bit different and is used in different situations. The article makes it much clearer that Ektron actually put more effort than we thought before into the Server Controls. Understanding that the Server Controls were made for this sort of usage makes us now feel more secure using this method. Previously, I always thought of this method as a hack and preferred the API.</p>
<p class="MsoNormal">Frank heads our .NET development team and added the following:</p>
<p>I&#8217;ve found it easier to start off with a foundation of one of the server controls and build off of that, rather than using only API calls. The server control acts as a &#8220;datareader&#8221; which can be used to access the data initially. Many of the custom controls we built to replace XSLT use this model:</p>
<ul>
<li>Add a ListSummary inside the user control/page and set its properties.</li>
<li>Access the ListSummary&#8217;s EkItems property.</li>
<li>Manipulate the data from EkItems, transform it, and output it into a repeater.</li>
</ul>
<p>This tends to work more reliably than using the API calls. However, if the code needs to bypass the permissions model, the only option is to go direct using the API.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>October 6, 2008 -- <a href="http://www.activoinc.com/blog/2008/10/06/ektron-cms400-70-issues-with-net-framework-35-sp1/" title="Ektron CMS400 7.0 issues with .NET Framework 3.5 SP1">Ektron CMS400 7.0 issues with .NET Framework 3.5 SP1</a> (2)</li><li>September 5, 2008 -- <a href="http://www.activoinc.com/blog/2008/09/05/joomla-vs-ektron/" title="Joomla vs Ektron">Joomla vs Ektron</a> (2)</li><li>January 7, 2009 -- <a href="http://www.activoinc.com/blog/2009/01/07/2009-the-year-of-open-source-software/" title="2009, the year of Open Source Software">2009, the year of Open Source Software</a> (0)</li><li>December 7, 2008 -- <a href="http://www.activoinc.com/blog/2008/12/07/a-list-of-cms-ecommerce-and-blogging-systems-that-officially-support-jquery/" title="A list of CMS and eCommerce systems that officially support jQuery">A list of CMS and eCommerce systems that officially support jQuery</a> (2)</li><li>November 3, 2008 -- <a href="http://www.activoinc.com/blog/2008/11/03/jquery-emerges-as-most-popular-javascript-library-for-web-development/" title="jQuery Emerges as Most Popular Javascript Library for Web Development">jQuery Emerges as Most Popular Javascript Library for Web Development</a> (2)</li><li>August 19, 2008 -- <a href="http://www.activoinc.com/blog/2008/08/19/hack-attempt-sql-injection-tagreting-ms-sql-servers/" title="Hack attempt: SQL Injection Tagreting MS SQL Servers">Hack attempt: SQL Injection Tagreting MS SQL Servers</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.activoinc.com/blog/2008/07/30/ektron-clarification-on-user-controls-vs-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
