<?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>Quarksoft\&#039;s Notes &#187; asp.net</title>
	<atom:link href="http://blog.quarksoft.com/tag/aspnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.quarksoft.com</link>
	<description>Just another Usefulnotes.com weblog</description>
	<lastBuildDate>Wed, 03 Mar 2010 16:07:51 +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>GridView with DropDownList &#8211; Server tag is not well formed.</title>
		<link>http://blog.quarksoft.com/2009/07/09/gridview-with-dropdownlist-server-tag-is-not-well-formed/</link>
		<comments>http://blog.quarksoft.com/2009/07/09/gridview-with-dropdownlist-server-tag-is-not-well-formed/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 19:34:38 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[David Finkelstein]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[DropDownList]]></category>
		<category><![CDATA[GridView]]></category>

		<guid isPermaLink="false">http://blog.quarksoft.com/?p=77</guid>
		<description><![CDATA[Ran across an issue today when trying to get my DropDownList embedded within a GridView.   Here is an extract of the code (the error is in the red text): &#60;ItemTemplate&#62;   &#60;asp:DropDownList ID="ddlMaker" runat="server" DataSourceID="odsMakers" DataTextField="makerName" SelectedValue="&#60;%#Bind("MakerID") %&#62;"   DataValueField="makerID"&#62;   &#60;/asp:DropDownList&#62; &#60;/ItemTemplate&#62; When I compiled I received an error &#8220;The server tag is not [...]]]></description>
			<content:encoded><![CDATA[<p>Ran across an issue today when trying to get my DropDownList embedded within a GridView.   Here is an extract of the code (the error is in the red text):</p>
<pre>
&lt;ItemTemplate&gt;
  &lt;asp:DropDownList
        ID="ddlMaker"
        runat="server"
        DataSourceID="odsMakers"
        DataTextField="makerName"
<span style="color: #ff0000"><strong>        SelectedValue="&lt;%#Bind("MakerID") %&gt;"</strong></span>
        DataValueField="makerID"&gt;
  &lt;/asp:DropDownList&gt;
&lt;/ItemTemplate&gt;
</pre>
<p>When I compiled I received an error &#8220;The server tag is not well formed.&#8221;</p>
<p>After a bit of trial and error I realized it was because there were quotes nested within quotes.  To make this work all that had to be done was to change the outside double quotes on the SelectedValue parameter to be single quotes as shown below.</p>
<pre>&lt;ItemTemplate&gt;
  &lt;asp:DropDownList
        ID="ddlMaker"
        runat="server"
        DataSourceID="odsMakers"
        DataTextField="makerName"
<span style="color: #ff0000"><strong>        SelectedValue='&lt;%#Bind("MakerID") %&gt;'</strong></span>
        DataValueField="makerID"&gt;
  &lt;/asp:DropDownList&gt;
&lt;/ItemTemplate&gt;</pre>
<p>Hope I saved someone a bunch of wasted time.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.quarksoft.com/2009/07/09/gridview-with-dropdownlist-server-tag-is-not-well-formed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET AJAX Control Toolkit Samples</title>
		<link>http://blog.quarksoft.com/2009/03/19/aspnet-ajax-control-toolkit-samples/</link>
		<comments>http://blog.quarksoft.com/2009/03/19/aspnet-ajax-control-toolkit-samples/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 15:03:40 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[David Finkelstein]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[quarksoft]]></category>

		<guid isPermaLink="false">http://blog.quarksoft.com/2009/03/19/aspnet-ajax-control-toolkit-samples/</guid>
		<description><![CDATA[Most of you probably have already experimented with the Control Toolkit, but just in case you never ran across it, take a look at these Toolkit samples If you have any questions about them, drop me a comment here.]]></description>
			<content:encoded><![CDATA[<p>Most of you probably have already experimented with the Control Toolkit, but just in case you never ran across it, take a look at these <a href="http://www.asp.net/AJAX/AjaxControlToolkit/samples/" target="_blank">Toolkit samples</a></p>
<p>If you have any questions about them, drop me a comment here.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.quarksoft.com/2009/03/19/aspnet-ajax-control-toolkit-samples/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Disabling buttons on click for ASP.NET forms</title>
		<link>http://blog.quarksoft.com/2008/01/31/disabling-buttons-on-click-for-aspnet-forms/</link>
		<comments>http://blog.quarksoft.com/2008/01/31/disabling-buttons-on-click-for-aspnet-forms/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 15:10:39 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://quarksoft.wordpress.com/?p=15</guid>
		<description><![CDATA[Found some great tips in the simple-talk.com blog about disabling buttons on asp.net forms. If you ever created a form and had your users click on the submit button multiple times this is the code you have been looking for.  Be sure to check out Robyn Page&#8217;s comments for a method to block the whole [...]]]></description>
			<content:encoded><![CDATA[<p>Found some great tips in the <a href="http://www.simple-talk.com/community/blogs/damon_armstrong/archive/2007/12/20/Disable_a_ASP_NET_Button_When_Clicked.aspx">simple-talk.com</a> blog about disabling buttons on asp.net forms.</p>
<p>If you ever created a form and had your users click on the submit button multiple times this is the code you have been looking for.  Be sure to check out Robyn Page&#8217;s comments for a method to block the whole form during the form submit as well.</p>
<p>Complete details can be found <a href="http://www.simple-talk.com/community/blogs/damon_armstrong/archive/2007/12/20/Disable_a_ASP_NET_Button_When_Clicked.aspx">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.quarksoft.com/2008/01/31/disabling-buttons-on-click-for-aspnet-forms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
