<?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>Olaf's Thoughts About Development &#187; RadioButton</title>
	<atom:link href="http://www.monien.net/blog/index.php" rel="self" type="application/rss+xml" />
	<link>http://www.monien.net/blog</link>
	<description>Delphi Programming, .NET Philosophy, Web development and more ...</description>
	<lastBuildDate>Mon, 14 Mar 2011 15:59:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Creating IWRadioButtons Dynamically in Intraweb Apps</title>
		<link>http://www.monien.net/blog/index.php/2008/10/creating-iwradiobuttons-dynamically-in-intraweb-apps/</link>
		<comments>http://www.monien.net/blog/index.php/2008/10/creating-iwradiobuttons-dynamically-in-intraweb-apps/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 07:50:21 +0000</pubDate>
		<dc:creator>Olaf Monien</dc:creator>
				<category><![CDATA[Delphi]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[IntraWeb]]></category>
		<category><![CDATA[RadioButton]]></category>

		<guid isPermaLink="false">http://www.monien.net/blog/index.php/2008/10/creating-iwradiobuttons-dynamically-in-intraweb-apps/</guid>
		<description><![CDATA[If creating IW controls dynamically, then always be sure to explicitly set their Name. They won’t always get a default name – and empty names may lead to strange behaviors. If you create IWRadioButtons dynamically, then also be careful that you always set their “Name” and “Value” properties to the same value – unless you [...]]]></description>
			<content:encoded><![CDATA[<p>If creating IW controls dynamically, then always be sure to explicitly set their Name. They won’t always get a default name – and empty names may lead to strange behaviors.</p>
<p>If you create IWRadioButtons dynamically, then also be careful that you always set their “Name” <strong>and</strong> “Value” properties to the <strong>same</strong> value – unless you know what you are doing. Value is important for correct control and group recognition during postbacks. Sounds odd but has to do with the way how the underlying INPUT HTML controls are working.</p>
<p>Unfortunately, at least in IntraWeb 9.0, IWRadioButtons synchronize Name and Value at design-time only (no idea why – I cannot remember having touched that during my time at Atozed). The attached IWComRadioButton source file fixes that, so that you only have to care about “Name”.</p>
<div id="scid:fb3a1972-4489-4e52-abe7-25a00bb07fdf:58668522-1dd9-4735-8461-0798f3a6f8c1" class="wlWriterEditableSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p>Source: <a href="http://www.monien.net/blog/wp-content/uploads/lw/CreatingIWRadioButtonsDynamicallyinIntra_8A52/IWCompRadioButton.zip" target="_blank">IWCompRadioButton.zip</a></p>
</div>
<p><em>Note: That file is for IntraWeb 9.0. It may work with older or newer versions, but I did not test that. This is not an official file version, but just a personal contribution to the freely available visual control source files of IntraWeb. Use modified sources at your own risk – the guys at Atozed can support their own versions only.</em></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Creating+IWRadioButtons+Dynamically+in+Intraweb+Apps&amp;link=http://www.monien.net/blog/index.php/2008/10/creating-iwradiobuttons-dynamically-in-intraweb-apps/&amp;notes=If%20creating%20IW%20controls%20dynamically%2C%20then%20always%20be%20sure%20to%20explicitly%20set%20their%20Name.%20They%20won%E2%80%99t%20always%20get%20a%20default%20name%20%E2%80%93%20and%20empty%20names%20may%20lead%20to%20strange%20behaviors.%0D%0A%0D%0AIf%20you%20create%20IWRadioButtons%20dynamically%2C%20then%20also%20be%20careful%20that%20you%20always%20set%20their%20%E2%80%9CName%E2%80%9D%20and%20%E2%80%9CValue%E2%80%9D%20prop&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.monien.net/blog/index.php/2008/10/creating-iwradiobuttons-dynamically-in-intraweb-apps/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Creating+IWRadioButtons+Dynamically+in+Intraweb+Apps&amp;link=http://www.monien.net/blog/index.php/2008/10/creating-iwradiobuttons-dynamically-in-intraweb-apps/&amp;notes=If%20creating%20IW%20controls%20dynamically%2C%20then%20always%20be%20sure%20to%20explicitly%20set%20their%20Name.%20They%20won%E2%80%99t%20always%20get%20a%20default%20name%20%E2%80%93%20and%20empty%20names%20may%20lead%20to%20strange%20behaviors.%0D%0A%0D%0AIf%20you%20create%20IWRadioButtons%20dynamically%2C%20then%20also%20be%20careful%20that%20you%20always%20set%20their%20%E2%80%9CName%E2%80%9D%20and%20%E2%80%9CValue%E2%80%9D%20prop&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Creating+IWRadioButtons+Dynamically+in+Intraweb+Apps&amp;link=http://www.monien.net/blog/index.php/2008/10/creating-iwradiobuttons-dynamically-in-intraweb-apps/&amp;notes=If%20creating%20IW%20controls%20dynamically%2C%20then%20always%20be%20sure%20to%20explicitly%20set%20their%20Name.%20They%20won%E2%80%99t%20always%20get%20a%20default%20name%20%E2%80%93%20and%20empty%20names%20may%20lead%20to%20strange%20behaviors.%0D%0A%0D%0AIf%20you%20create%20IWRadioButtons%20dynamically%2C%20then%20also%20be%20careful%20that%20you%20always%20set%20their%20%E2%80%9CName%E2%80%9D%20and%20%E2%80%9CValue%E2%80%9D%20prop&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=Creating+IWRadioButtons+Dynamically+in+Intraweb+Apps&amp;link=http://www.monien.net/blog/index.php/2008/10/creating-iwradiobuttons-dynamically-in-intraweb-apps/&amp;notes=If%20creating%20IW%20controls%20dynamically%2C%20then%20always%20be%20sure%20to%20explicitly%20set%20their%20Name.%20They%20won%E2%80%99t%20always%20get%20a%20default%20name%20%E2%80%93%20and%20empty%20names%20may%20lead%20to%20strange%20behaviors.%0D%0A%0D%0AIf%20you%20create%20IWRadioButtons%20dynamically%2C%20then%20also%20be%20careful%20that%20you%20always%20set%20their%20%E2%80%9CName%E2%80%9D%20and%20%E2%80%9CValue%E2%80%9D%20prop&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Creating+IWRadioButtons+Dynamically+in+Intraweb+Apps&amp;link=http://www.monien.net/blog/index.php/2008/10/creating-iwradiobuttons-dynamically-in-intraweb-apps/&amp;notes=If%20creating%20IW%20controls%20dynamically%2C%20then%20always%20be%20sure%20to%20explicitly%20set%20their%20Name.%20They%20won%E2%80%99t%20always%20get%20a%20default%20name%20%E2%80%93%20and%20empty%20names%20may%20lead%20to%20strange%20behaviors.%0D%0A%0D%0AIf%20you%20create%20IWRadioButtons%20dynamically%2C%20then%20also%20be%20careful%20that%20you%20always%20set%20their%20%E2%80%9CName%E2%80%9D%20and%20%E2%80%9CValue%E2%80%9D%20prop&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Creating+IWRadioButtons+Dynamically+in+Intraweb+Apps&amp;link=http://www.monien.net/blog/index.php/2008/10/creating-iwradiobuttons-dynamically-in-intraweb-apps/&amp;notes=If%20creating%20IW%20controls%20dynamically%2C%20then%20always%20be%20sure%20to%20explicitly%20set%20their%20Name.%20They%20won%E2%80%99t%20always%20get%20a%20default%20name%20%E2%80%93%20and%20empty%20names%20may%20lead%20to%20strange%20behaviors.%0D%0A%0D%0AIf%20you%20create%20IWRadioButtons%20dynamically%2C%20then%20also%20be%20careful%20that%20you%20always%20set%20their%20%E2%80%9CName%E2%80%9D%20and%20%E2%80%9CValue%E2%80%9D%20prop&amp;short_link=&amp;shortener=tinyurl&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.monien.net/blog/index.php/2008/10/creating-iwradiobuttons-dynamically-in-intraweb-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

