textbox & button işbirliği (defaultbutton)

aktif (focused) textbox'ta iken enter'a basatığımda belirli bir buton (genellikle hemen yanındaki buton) çalışsın isttiyorum. o halde yapmam gereken şu kadar basit: textbox ve button'ı bir panel içine alıp, bu button'ı panel'in defaultbutton'ı olarak ayarlamak.

asp:Panel ID="Panel1" runat="server" DefaultButton="btnSearch"
            asp:TextBox ID="txtSearch" runat="server" />
            asp:ImageButton ID="btnSearch" runat="server" ImageUrl="~/Img/search.gif" OnClick="btnSearch_Click" />
/asp:Panel>

search this blog (most likely not here)