<?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>Modern Web Design Articles and Tutorials &#187; Uncategorized</title>
	<atom:link href="http://www.dlocc.com/articles/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dlocc.com/articles</link>
	<description></description>
	<lastBuildDate>Tue, 29 Nov 2011 09:52:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Open one panel at a time using ASP.Net AJAX Collapsible Panels</title>
		<link>http://www.dlocc.com/articles/open-one-panel-at-a-time-using-collapsible-panels/</link>
		<comments>http://www.dlocc.com/articles/open-one-panel-at-a-time-using-collapsible-panels/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 05:45:25 +0000</pubDate>
		<dc:creator>Michael Martin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.dlocc.com/articles/?p=1813</guid>
		<description><![CDATA[In this short article I&#8217;ll show you how to create a group of disconnected panels  that can be opened one at a time in either a vertical or horizontal orientation using elements placed anywhere on the page. Vertical ASP.Net AJAX Collapsible Panels: Horizontal ASP.Net AJAX Collapsible Panels: In the &#8220;Vertical&#8221; figure above, the panels are stacked [...]]]></description>
			<content:encoded><![CDATA[<p>In this short article I&#8217;ll show you how to create a group of disconnected panels  that can be opened one at a time in either a vertical or horizontal orientation using elements placed anywhere on the page.<br />
<span id="more-1813"></span><br />
<h3>Vertical ASP.Net AJAX Collapsible Panels:</h3>
<p style="text-align: center;"><img class="aligncenter" src="http://www.dlocc.com/articles/wp-content/uploads/2010/04/vertical.png" alt="vertically expanding panels" width="441" height="161" /></p>
<h3>Horizontal ASP.Net AJAX Collapsible Panels:</h3>
<p style="text-align: center;"><img class="aligncenter" src="http://www.dlocc.com/articles/wp-content/uploads/2010/04/Horizontal.png" alt="horizontally expanding panels" width="507" height="265" /></p>
<p>In the &#8220;Vertical&#8221; figure above, the panels are stacked from left-to-right. In the &#8220;Horizontal&#8221; figure they are stacked from top-to-bottom. In traditional &#8220;Accordion&#8221; controls the panels would all be stacked top-to-bottom separated by their toggling elements (headers) whereas this method allows you to completely break out of that model and place not only the togglers anywhere, but the panels themselves as well.</p>
<p>For both examples I am using the following form elements markup:</p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.dlocc.com/articles/wp-content/uploads/2010/04/remote_togglers_markup_from_elements.png" alt="form elements" width="529" height="305" /></p>
<p style="text-align: left;">Note: I am intentionally showing both possible values of &#8221;ExpandDirection&#8221; <img src='http://www.dlocc.com/articles/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p style="text-align: left;">And the following script:</p>
<p style="text-align: center;"><img class="aligncenter" style="vertical-align: middle;" src="http://www.dlocc.com/articles/wp-content/uploads/2010/04/toggle_panels_snippet.png" alt="snippet" width="485" height="239" /></p>
<p style="text-align: left;">Notice the use of numerical values as the &#8220;target&#8221; argument to the &#8220;TogglePanels&#8221; function. The number is matched to the proper CollapsiblePanelExtender using the js function &#8220;endsWith&#8221;, such that all CollapsiblePanelExtender&#8217;s that do not match are collapsed and the one that does match is collapsed only if it is currently expanded. You might have noticed that you can use this condition to your advantage by having two CollapsiblePanelExtender controls, each ending in the same target (ie. cpe3 and cpe33) such that expanding the second then expanding or collapsing the first would allow the second to remain open.</p>
<p style="text-align: left;">Whether the panels expand horizontally or vertically depends on the CollapsiblePanelExtender attribute &#8220;ExpandDirection&#8221;, which accepts either &#8220;Horizontal&#8221; or &#8220;Vertical&#8221; , and the finishing touch can be accomplished using CSS.</p>
<p style="font-family: Verdana, Arial, Helvetica, sans-serif; text-align: left;">-mwm</p>
<p style="text-align: center;">
]]></content:encoded>
			<wfw:commentRss>http://www.dlocc.com/articles/open-one-panel-at-a-time-using-collapsible-panels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

