<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.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>FAQ - Frequently Asked Questions</title><link>http://forums.asp.net/13.aspx</link><description>Your question has probably already been answered. Look here for some great answers!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: ASP.NET 2.0 - Enter Key - Default Submit Button</title><link>http://forums.asp.net/thread/3493233.aspx</link><pubDate>Wed, 04 Nov 2009 07:36:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3493233</guid><dc:creator>Babunareshnarra</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3493233.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=13&amp;PostID=3493233</wfw:commentRss><description>&lt;p&gt;Check these out&lt;br /&gt;&lt;/p&gt;&lt;p&gt;http://stackoverflow.com/questions/333141/asp-net-default-button&lt;/p&gt;&lt;p&gt;http://www.velocityreviews.com/forums/t121858-how-do-i-use-the-defaultbutton-setting-when-using-master-pages.html&lt;/p&gt;&lt;p&gt;Hope this helps.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 - Enter Key - Default Submit Button</title><link>http://forums.asp.net/thread/3492864.aspx</link><pubDate>Wed, 04 Nov 2009 04:09:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3492864</guid><dc:creator>cnranasinghe</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3492864.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=13&amp;PostID=3492864</wfw:commentRss><description>&lt;p&gt;Easiest way to do this is to add a panel control and set the default button property of the panel control&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 - Enter Key - Default Submit Button</title><link>http://forums.asp.net/thread/3472505.aspx</link><pubDate>Thu, 22 Oct 2009 19:41:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3472505</guid><dc:creator>uswebpro</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3472505.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=13&amp;PostID=3472505</wfw:commentRss><description>&lt;p&gt;thanks Grant, this helped!&lt;/p&gt;&lt;p&gt;I will use this on ALL my sites :)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 - Enter Key - Default Submit Button</title><link>http://forums.asp.net/thread/3145601.aspx</link><pubDate>Wed, 06 May 2009 18:38:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3145601</guid><dc:creator>Laplain</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3145601.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=13&amp;PostID=3145601</wfw:commentRss><description>&lt;p&gt;Using a Panel&amp;#39;s &amp;quot;DefaultButton&amp;quot; worked perfectly for my needs.&amp;nbsp; I have three text box functions on one page, and just made sure each &amp;quot;tool&amp;quot; had a Panel surrounding it, then added the button as the Default to each panel.&amp;nbsp; Thanks! &lt;img src="http://forums.asp.net/emoticons/emotion-21.gif" alt="Yes" /&gt;&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 - Enter Key - Default Submit Button</title><link>http://forums.asp.net/thread/3109444.aspx</link><pubDate>Wed, 22 Apr 2009 06:27:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3109444</guid><dc:creator>chope_07</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3109444.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=13&amp;PostID=3109444</wfw:commentRss><description>Hi, &lt;br /&gt;
&lt;br /&gt;
Try using this, Assuming that we have asp TextBox with an ID of &amp;quot;TextBox1&amp;quot; and Button with an ID of &amp;quot;Button1&amp;quot; controls on our page. &lt;br /&gt;
&lt;br /&gt;
Put this code on the Head of your aspx page.&lt;br /&gt;&lt;br /&gt;
&amp;lt;script language=&amp;quot;javascript&amp;quot;&amp;gt; &lt;br /&gt;
function doClick(e, buttonid){&lt;br /&gt;
	var evt = e ? e : window.event;&lt;br /&gt;
	var bt = document.getElementById(buttonid);&lt;br /&gt;
		if (bt){&lt;br /&gt;
			if (evt.keyCode == 13){&lt;br /&gt;
				bt.click();&lt;br /&gt;
				return false;&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And this on page load event.&lt;br /&gt;
TextBox1.Attributes.Add(&amp;quot;onkeypress&amp;quot;, &amp;quot;return doClick(event,&amp;#39;&amp;quot; + Button1.ClientID + &amp;quot;&amp;#39;)&amp;quot;);&lt;br /&gt;</description></item><item><title>Re: ASP.NET 2.0 - Enter Key - Default Submit Button</title><link>http://forums.asp.net/thread/3095046.aspx</link><pubDate>Thu, 16 Apr 2009 14:42:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3095046</guid><dc:creator>ILoveFall</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3095046.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=13&amp;PostID=3095046</wfw:commentRss><description>&lt;p&gt;In page load add attributes for your control and you can use keycode on html page in javascript:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;event.keyCode == 13 //For enter button&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 - Enter Key - Default Submit Button</title><link>http://forums.asp.net/thread/3080704.aspx</link><pubDate>Sat, 11 Apr 2009 12:46:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3080704</guid><dc:creator>prabhu_17</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3080704.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=13&amp;PostID=3080704</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Actually , tell me actually .. what kind of code u&amp;nbsp; wants&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 - Enter Key - Default Submit Button</title><link>http://forums.asp.net/thread/3060150.aspx</link><pubDate>Fri, 03 Apr 2009 07:59:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3060150</guid><dc:creator>delve</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3060150.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=13&amp;PostID=3060150</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;i master page and 3 webcontrol&lt;/p&gt;&lt;p&gt;1. for loging&lt;/p&gt;&lt;p&gt;2. for search with site&lt;/p&gt;&lt;p&gt;3 for google search&lt;/p&gt;&lt;p&gt;i have used your code work gr in ie7. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;But this is not woking in firefox (version 3.0.8) as our site user share is more then 28 % so i cannot ignore that can u help.&lt;/p&gt;&lt;p&gt;i tried almost all the technique but not desire result. every time is goes to login button in firefox. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 - Enter Key - Default Submit Button</title><link>http://forums.asp.net/thread/2974191.aspx</link><pubDate>Sun, 01 Mar 2009 06:00:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2974191</guid><dc:creator>anzer</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2974191.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=13&amp;PostID=2974191</wfw:commentRss><description>problem with &lt;span&gt;&lt;strong&gt;&lt;font color="#000080" face="Tahoma" size="2"&gt;&lt;em&gt;defaultbutton&lt;/em&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; is it will not work as you expected in Firefox when you click Enter key while the cursor in a Multi line textbox&lt;br /&gt;&lt;p&gt;&amp;nbsp;It will simply postback rather than going to next line :( . And you can not ignore Firefox as now it have almost half of the browser share&lt;/p&gt;&lt;p&gt;http://www.w3schools.com/browsers/browsers_stats.asp&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 - Enter Key - Default Submit Button</title><link>http://forums.asp.net/thread/2895590.aspx</link><pubDate>Tue, 27 Jan 2009 17:13:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2895590</guid><dc:creator>Nicoxx</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2895590.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=13&amp;PostID=2895590</wfw:commentRss><description>&lt;p&gt;thanks for the article... it worked for me :)&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;&lt;font face="Tahoma" color="#000080" size="2"&gt;&lt;em&gt;&amp;lt;form id=&amp;quot;form1&amp;quot; runat=&amp;quot;server&amp;quot; defaultbutton=&amp;quot;btn1&amp;quot;&amp;gt;&lt;/em&gt;&lt;br /&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;usefull part&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;&lt;font face="Tahoma" color="#000080" size="2"&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 - Enter Key - Default Submit Button</title><link>http://forums.asp.net/thread/2891417.aspx</link><pubDate>Mon, 26 Jan 2009 06:34:32 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2891417</guid><dc:creator>Vitesh Tandel</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2891417.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=13&amp;PostID=2891417</wfw:commentRss><description>&lt;pre class="csharpcode"&gt;&lt;i&gt;&lt;b&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;body&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;form&lt;/span&gt; &lt;span class="attr"&gt;id&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;form1&amp;quot;&lt;/span&gt; &lt;span class="attr"&gt;runat&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt; &lt;br /&gt;                     &lt;span class="attr"&gt;defaultbutton&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;Button1&amp;quot;&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;div&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;asp:TextBox&lt;/span&gt; &lt;span class="attr"&gt;ID&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;TextBox1&amp;quot;&lt;/span&gt; &lt;span class="attr"&gt;runat&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;asp:TextBox&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;br&lt;/span&gt; &lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;br&lt;/span&gt; &lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;asp:TextBox&lt;/span&gt; &lt;span class="attr"&gt;ID&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;txtTest&amp;quot;&lt;/span&gt; &lt;span class="attr"&gt;runat&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;asp:TextBox&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;asp:Button&lt;/span&gt; &lt;span class="attr"&gt;ID&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;Button1&amp;quot;&lt;/span&gt; &lt;span class="attr"&gt;runat&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt; &lt;br /&gt;             &lt;span class="attr"&gt;OnClick&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;Button1_Click&amp;quot;&lt;/span&gt; &lt;span class="attr"&gt;Text&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;Button&amp;quot;&lt;/span&gt; &lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;   &lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;div&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;form&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;body&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;/pre&gt;&lt;i&gt;&lt;b&gt;or if we use panel than &lt;br /&gt;&lt;/b&gt;&lt;/i&gt;&lt;pre class="csharpcode"&gt;&lt;i&gt;&lt;b&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;asp:Panel&lt;/span&gt; &lt;span class="attr"&gt;ID&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;Panel1&amp;quot;&lt;/span&gt; &lt;span class="attr"&gt;runat&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span class="attr"&gt;defaultbutton&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;Button1&amp;quot;&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;/pre&gt;&lt;p&gt;&lt;i&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/i&gt;&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 - Enter Key - Default Submit Button</title><link>http://forums.asp.net/thread/2872792.aspx</link><pubDate>Sat, 17 Jan 2009 07:47:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2872792</guid><dc:creator>Shailendra Sankhala</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2872792.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=13&amp;PostID=2872792</wfw:commentRss><description>&lt;p&gt;following code is for default button. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;form id=&amp;quot;form1&amp;quot; runat=&amp;quot;server&amp;quot; defaultbutton=&amp;quot;btnlogin&amp;quot; &amp;gt;&lt;/p&gt;&lt;p&gt;--&lt;/p&gt;&lt;p&gt;--&lt;/p&gt;&lt;p&gt;&amp;lt;/form&amp;gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 - Enter Key - Default Submit Button</title><link>http://forums.asp.net/thread/2871976.aspx</link><pubDate>Fri, 16 Jan 2009 19:11:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2871976</guid><dc:creator>Pradeep Kr. Sharma</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2871976.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=13&amp;PostID=2871976</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Any one create more then one submit button in the application. Here is the Example. That create more then one submit button depending on the focus of the text button before hit enter. &lt;/p&gt;
&lt;p&gt;Call makeSubmitButton on the page_Load and pass the textBoxId and also ButtonId which you want to make submit button when focus is on txtBoxId.&lt;/p&gt;
&lt;p&gt;It will set ButtonId as a default button....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;public void makeSubmitButton(System.Web.UI.WebControls.TextBox txtBox, System.Web.UI.WebControls.LinkButton CmdButton)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; txtBox.Attributes.Add(&amp;quot;onkeydown&amp;quot;, &amp;quot;if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) {document.getElementById(&amp;#39;&amp;quot; +&amp;nbsp;&amp;nbsp; CmdButton.UniqueID + &amp;quot;&amp;#39;).click();return false;}} else {return true}; &amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Sincerely,&lt;br /&gt;Pradeep Kr. Sharma&lt;/p&gt;
&lt;p&gt;Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. &lt;br /&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 - Enter Key - Default Submit Button</title><link>http://forums.asp.net/thread/2795369.aspx</link><pubDate>Tue, 09 Dec 2008 11:43:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2795369</guid><dc:creator>codemobile</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2795369.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=13&amp;PostID=2795369</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;WHat in case of multiple default buttons ? Can i use multiple ?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 - Enter Key - Default Submit Button</title><link>http://forums.asp.net/thread/2756221.aspx</link><pubDate>Wed, 19 Nov 2008 21:06:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2756221</guid><dc:creator>rmdw</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2756221.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=13&amp;PostID=2756221</wfw:commentRss><description>&lt;p&gt;Hi Everyone,&lt;/p&gt;&lt;p&gt;It has been a while since I wrote that code.&amp;nbsp; I just tested it and it works fine.&amp;nbsp; Here&amp;#39;s proof: http://pocketpollster.com/beta&lt;/p&gt;&lt;p&gt;Looking at it now, the pertinent code only appears to be this: &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp;&amp;lt;asp:Button ID=&amp;quot;buttonSubscribe&amp;quot; CssClass=&amp;quot;smallTextButton&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Subscribe&amp;quot; OnClick=&amp;quot;buttonSubscribe_Click&amp;quot; ValidationGroup=&amp;quot;Newsletter&amp;quot; /&amp;gt; &lt;/b&gt;&lt;/p&gt;&lt;p&gt;And:&lt;/p&gt;&lt;p&gt;&amp;nbsp; protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Make the Newsletter Subscribe button the default button&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!IsPostBack)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;Page.Form.DefaultButton = buttonSubscribe.UniqueID;&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;m by no means the expert in this area, but what I&amp;#39;ve written does work for me.&amp;nbsp; Hopefully it&amp;#39;ll help you.&lt;/p&gt;&lt;p&gt;Robert &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>