tag:blogger.com,1999:blog-13221527.post114661679806110393..comments2023-10-26T05:42:47.148-04:00Comments on Development tips: How to use DefaultFocus and DefaultButton properties with Master pageDennis Gorelikhttp://www.blogger.com/profile/17700219093521377626noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-13221527.post-62218691354002293692009-07-17T12:41:05.408-04:002009-07-17T12:41:05.408-04:00Anonymous,
I think you are right.
But I didn'...Anonymous,<br /><br />I think you are right.<br />But I didn't use master pages for a while (I think it doesn't worth to).Dennis Gorelikhttps://www.blogger.com/profile/17700219093521377626noreply@blogger.comtag:blogger.com,1999:blog-13221527.post-44485685113499012192009-07-17T11:19:28.495-04:002009-07-17T11:19:28.495-04:00Do you mean?:
Short answer:
=====
Page.Form.Defau...Do you mean?:<br /><br />Short answer:<br />=====<br />Page.Form.DefaultFocus = TextBox1.ClientID;<br />Page.Form.DefaultButton = Button1.UniqueID;<br />=====<br /><br />There seems to be a discrepancy between the short answer and the long answer in terms of which property of the text box is assigned to the forms DefaultFocus property.Anonymousnoreply@blogger.com