<p>What is the best way to keep an asp:button from displaying it's URL on the status bar of the browser?  The button is currently defines like this:</p>

<pre><code>&lt;asp:button id="btnFind" 
            runat="server" 
            Text="Find Info" 
            onclick="btnFind_Click"&gt;
&lt;/asp:button&gt;
</code></pre>

<p><strong>Update:</strong></p>

<p>This appears to be specific to IE7,  IE6 and FF do not show the URL in the status bar.</p>

[{'answer_id': 59189, 'author': 'Rob Cooper', 'author_id': 832, 'author_profile': 'https://Stackoverflow.com/users/832', 'pm_score': 1, 'selected': True, 'text': "<p>I use FF so never noticed this, but the link does in fact appear in the status bar in IE..</p>\n<p>I dont think you can overwrite it :( I initially thought maybe setting the ToolTip (al la &quot;title&quot;) property might do it.. Seems it does not..</p>\n<p>Looking at the source, what appears is nowhere to be found, so I would say this is a <em>browser</em> issue, I don't think you can do anything in code.. :(</p>\n<h2>Update</h2>\n<p>Yeah, Looks like IE always posts whatever the form action is.. Can't see a way to override it, as yet..</p>\n<p>Perhaps try explicitly setting it via JS?</p>\n<h2>Update II</h2>\n<p>Done some more Googleing. Don't think there really is a &quot;nice&quot; way of doing it.. Unless you remove the form all together and post data some other way..</p>\n<p><strong>Is it really worth that much? Generally this just tends to be the page name?</strong></p>\n"}, {'answer_id': 59234, 'author': 'FlySwat', 'author_id': 1965, 'author_profile': 'https://Stackoverflow.com/users/1965', 'pm_score': -1, 'selected': False, 'text': '<p>I don\'t see a link, I see this:</p>\n\n<pre><code>javascript:__doPostBack(\'btn\',\'\');\n</code></pre>\n\n<p><strong>EDIT</strong>: Sorry, was looking at a LinkButton, not an ASP:Button. The ASP:Button shows the forms ACTION element like stated. </p>\n\n<p>But, if you are trying to hide the DoPostBackCall,  the only way to do that is to directly manipulate window.status with javascript. <strong>The downside is most browsers don\'t allow this anymore.</strong></p>\n\n<p>To do that, in your page_load add:</p>\n\n<pre><code>btnFind.Attributes.Add("onmouseover","window.status = \'\';");\nbtnFind.Attributes.Add("onmouseout","window.status = \'\';");\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/59182', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/206/']