Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 27th, 2003, 10:47 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
Default Default Buttons

I'm trying to set the default behavior in IE on a form with multiple buttons. Invariably, the first button placed on the screen is the button that behaves as clicked when the user presses ENTER.

I need to have a different button fire. I have already tried setting the TabIndex property and delteing the original "first" button and recreating it, both to no avail.

Any suggestions? Thanks.

 
Old October 28th, 2003, 01:11 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

Im not sure but have u tried CCS & class?!

Always:),
Hovik Melkomian.
 
Old October 28th, 2003, 08:59 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I haven't tried CSS - I'm not sure how to pursue that.

However, I was able to come up with a temporary solution that places the button I need to be the default as the first one drawn on the screen. Now it behaves as the default, but I don't like having to affect the page design like that.






Similar Threads
Thread Thread Starter Forum Replies Last Post
buttons over and under rahzan Access VBA 4 April 7th, 2005 11:35 AM
Default Buttons - in ASP.NET webforms brameshkannan Classic ASP Professional 2 August 2nd, 2004 03:32 AM
multiple Image submit buttons set default to last sam HTML Code Clinic 2 June 30th, 2004 02:33 PM
'ok buttons' hiker Beginning VB 6 2 March 22nd, 2004 02:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.