John Smith <(E-Mail Removed)> ha scritto:
> I am having a brain fart today....
>
> How do you set a default button within a User Control? I am using
> "Page.RegisterHiddenField("__EVENTTARGET", "btnSubmit")" but it does
> not seem to be working for me.
>
> I have another User Control which uses this technique and works.
> Can't think of what I am missing?
Page.RegisterHiddenField("__EVENTTARGET", btnSubmit.UniqueID)
--
AZ [Microsoft - .NET MVP]
Mia Home page:
http://ciclismo.sitiasp.it
Asp.Net community:
http://www.aspitalia.com
Il mio blog:
http://blogs.aspitalia.com/az