If you want to cause a default button to be clicked you use a panel in
asp.net 20
<asp

anel ID="Panel1" runat="server" DefaultButton="UpdateButton">
</asp

anel>
or you can consume the keypress event in HTML on any object within your
control
http://msdn.microsoft.com/library/de...onkeypress.asp
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Julia" wrote:
> Hi
>
> I have created a composite conrol and now I would like to catch the event
> when a user press the return key. How do I do that?
>
> Thanks
> Julia