thank you for your answer brock.
i set the defaultbutton in the page_load event. i get an error:
The DefaultButton of '' must be the ID of a control of type IButtonControl.
i think it's because i use a usercontrol:
<RDK:RDK_BaseButton ID="btnSearch" Text="Search" runat="server"
OnClick="btnSearch_Click" />
what can i do to get .net to recognize that it is really a button?
thank you.
"Brock Allen" <> wrote in message
news: m...
> You need to use the <form defaultbutton="IDOfAButton"> or the
> HtmlForm.DefaultButton property.
>
> -Brock
> DevelopMentor
> http://staff.develop.com/ballen
>
>
>
>> i am using a master and content page
>> the regular aspx page not attached to a master page will submit when
>> the
>> user hits enter
>> how come a content page will not submit if the user hits enter?
>>
>
>
>