<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>David Findley's Blog - All Comments</title><link>http://weblogs.asp.net/dfindley/default.aspx</link><description>My little home in the cloud.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Debug Build: 20510.895)</generator><item><title>re: A Quick Fix for the Validator SetFocusOnError Bug</title><link>http://weblogs.asp.net/dfindley/archive/2007/06/29/a-quick-fix-for-the-validator-setfocusonerror-bug.aspx#7245022</link><pubDate>Mon, 02 Nov 2009 08:50:58 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7245022</guid><dc:creator>RitZ</dc:creator><description>&lt;p&gt;Can you please provide a VB version of this code, am quite noob in VB right now... :S&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7245022" width="1" height="1"&gt;</description></item><item><title>re: Set hardware clock to UTC on Windows (or how to make the clock work on a Mac Book Pro)</title><link>http://weblogs.asp.net/dfindley/archive/2006/06/20/Set-hardware-clock-to-UTC-on-Windows-_2800_or-how-to-make-the-clock-work-on-a-Mac-Book-Pro_2900_.aspx#7239829</link><pubDate>Mon, 26 Oct 2009 17:30:29 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7239829</guid><dc:creator>dmmcintyre3</dc:creator><description>&lt;p&gt;Thanks, That worked great&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7239829" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET MVC – Multiple buttons in the same form</title><link>http://weblogs.asp.net/dfindley/archive/2009/05/31/asp-net-mvc-multiple-buttons-in-the-same-form.aspx#7237666</link><pubDate>Sat, 24 Oct 2009 05:50:43 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7237666</guid><dc:creator>sureshkumar</dc:creator><description>&lt;p&gt;Thank you very much..&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7237666" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET MVC – Multiple buttons in the same form</title><link>http://weblogs.asp.net/dfindley/archive/2009/05/31/asp-net-mvc-multiple-buttons-in-the-same-form.aspx#7227983</link><pubDate>Mon, 12 Oct 2009 15:32:15 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7227983</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;This works great unless you are validating the form using jQuery. As a result I just get a null value for the button.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7227983" width="1" height="1"&gt;</description></item><item><title>re: LINQ - The Uber FindControl</title><link>http://weblogs.asp.net/dfindley/archive/2007/06/29/linq-the-uber-findcontrol.aspx#7207093</link><pubDate>Tue, 15 Sep 2009 20:54:02 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7207093</guid><dc:creator>Anderson Imes</dc:creator><description>&lt;p&gt;I found this useful for about the 10th time today and decided it was time to leave a comment about it. &amp;nbsp;Thanks for writing this.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7207093" width="1" height="1"&gt;</description></item><item><title>David Findley &amp;#8211; Great Blog! | Lambert on Development</title><link>http://weblogs.asp.net/dfindley/archive/2006/10/24/Suggestions-for-distributing-CTPs-as-VirtualPC-images.aspx#7200981</link><pubDate>Fri, 11 Sep 2009 14:59:51 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7200981</guid><dc:creator>David Findley – Great Blog! | Lambert on Development</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;David Findley &amp;amp;#8211; Great Blog! | Lambert on Development&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7200981" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET MVC – Multiple buttons in the same form</title><link>http://weblogs.asp.net/dfindley/archive/2009/05/31/asp-net-mvc-multiple-buttons-in-the-same-form.aspx#7197341</link><pubDate>Wed, 09 Sep 2009 09:10:30 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7197341</guid><dc:creator>Markus</dc:creator><description>&lt;p&gt;Addendum to my previous post. The multiple buttons value issue in multilingual pages is now resolved. The key is to give each button an unique name. Conforming to HTTP standards, only the clicked button value is posted to the controller. The controller checks for null (vb=nothing) against each submit button and executes the relevant code:&lt;/p&gt;
&lt;p&gt;Page:&lt;/p&gt;
&lt;p&gt;&amp;lt;button type=&amp;quot;submit&amp;quot; name=&amp;quot;addButton&amp;quot; value=&amp;quot;add&amp;quot;&amp;gt;Button Text or Image&amp;lt;/button&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;button type=&amp;quot;submit&amp;quot; name=&amp;quot;saveButton&amp;quot; value=&amp;quot;save&amp;quot;&amp;gt;Button Text or Image&amp;lt;/button&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;button type=&amp;quot;submit&amp;quot; name=&amp;quot;nextButton&amp;quot; value=&amp;quot;next&amp;quot;&amp;gt;Button Text or Image&amp;lt;/button&amp;gt;&lt;/p&gt;
&lt;p&gt;Controller:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;AcceptVerbs(HttpVerbs.Post)&amp;gt; _&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Function MyAction(ByVal model As MyModel, ByVal addButton As String, ByVal saveButton As String, ByVal nextButton As String) As ActionResult&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If Not IsNothing(nextButton) Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#39;next code&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ElseIf Not IsNothing(addButton) Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#39;add code&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ElseIf Not IsNothing(saveButton) Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#39;save code&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Else&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#39;Else Code&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;End Function&lt;/p&gt;
&lt;p&gt;I hope this helps anyone having the same issue.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7197341" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET MVC – Multiple buttons in the same form</title><link>http://weblogs.asp.net/dfindley/archive/2009/05/31/asp-net-mvc-multiple-buttons-in-the-same-form.aspx#7197321</link><pubDate>Wed, 09 Sep 2009 08:17:29 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7197321</guid><dc:creator>Markus</dc:creator><description>&lt;p&gt;Great article, David. However, option 1 does not seem to work if the button text differs from the value:&lt;/p&gt;
&lt;p&gt;HTML:&lt;/p&gt;
&lt;p&gt;&amp;lt;button type=&amp;quot;submit&amp;quot; name=&amp;quot;submitButton&amp;quot; value=&amp;quot;next&amp;quot; class=&amp;quot;btn_red_high&amp;quot;&amp;gt;&amp;lt;%=Server.HtmlEncode(Resources.LocalizedResources.BUTTON_NEXT)%&amp;gt;&amp;lt;/button&amp;gt;&lt;/p&gt;
&lt;p&gt;The text for the &amp;quot;next&amp;quot; button is language dependent. Option 1 always returns the text to the controller and not the value, i.e. the variable submitButton has the value of the expression &amp;lt;%=Server.HtmlEncode(Resources.LocalizedResources.BUTTON_NEXT)%&amp;gt; and not the value of the button element. Does anybody else encounter the same behaviour?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7197321" width="1" height="1"&gt;</description></item><item><title>links for 2009-08-21 | ?????????</title><link>http://weblogs.asp.net/dfindley/archive/2006/06/20/Set-hardware-clock-to-UTC-on-Windows-_2800_or-how-to-make-the-clock-work-on-a-Mac-Book-Pro_2900_.aspx#7176442</link><pubDate>Fri, 21 Aug 2009 13:31:14 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7176442</guid><dc:creator>links for 2009-08-21 | ?????????</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;links for 2009-08-21 | ?????????&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7176442" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET MVC – Multiple buttons in the same form</title><link>http://weblogs.asp.net/dfindley/archive/2009/05/31/asp-net-mvc-multiple-buttons-in-the-same-form.aspx#7173775</link><pubDate>Wed, 19 Aug 2009 16:17:09 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7173775</guid><dc:creator>Tanrikut</dc:creator><description>&lt;p&gt;Just what I am looking for. First solution is great for for no javascript situations.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7173775" width="1" height="1"&gt;</description></item></channel></rss>