Hi Lamine,
you should be able to just put
onload="this.focus()"
in the body tag of your aspx page.
Or if you would like to focus on something else use
document.getElementById('IDofTheControl').focus()
ASP.Net tells you the ID's you controls will get with myControl.ClientID,
that way you could focus on a different button.
Hope this helps
Johannes
"Lamine Darbouche" <la******@mpt-ltd.com> schrieb im Newsbeitrag
news:%2****************@TK2MSFTNGP12.phx.gbl...
Please Help,
I have a form with multiple buttons "New User", "Delete User", "Save"
buttons, when I access the form it selects the "New User" button by
default,
so when you hit the return key ("keyboard") it goes directly to "New User"
form.
My question is:
How could I disable the default selection so that when I access the form
none of the buttons is selected until I click on it myself?
Many thanks in advance.
Regards
Lamine