Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AcceptButton when using masterpages?

Status
Not open for further replies.

jcarr26

Programmer
May 18, 2007
1
US
I've gone through several searches and found many reference to using the form.acceptbutton property to make a button the default when the enter key is pressed. However, when using MasterPages, the form control is actually part of the MasterPage and not each individual page, so if I have several pages with submit buttons, all wrapped with the same masterpage, how would I get the submit button on each page to be the default button when hitting the Enter Key.

Thanks
Jack
 
I think you might have the wrong forum.

You seem to be talking about a specific development environment but neglect to mention what it is.

Can you give us some more to go on?

<honk>*:O)</honk>

Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.
 
Just a quick questio, how are you going to decide what to do when this button is pressed, I don't think you want it on the Masterpage. Wrong forum anyway.

[blue] A perspective from the other side!![/blue]

Cheers
Scott
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top