Home All Groups Group Topic Archive Search About

asp 2.0 wizard control (how to set focus on button)

Author
24 Jun 2005 4:23 PM
Ken Nipper
Does anyone know how to set the focus on the next button or set a
default button?  As it stands now I have a "Previous" button and a
"Next" button.  The "Previous" button is of course on the left hand
side  and the "Next button is on the right hand side(standard
navigation).  Because the browser renders the "Previous" button first
it automatically hightlights that button when the form has focus.  I
would like to have the "Next" button highlight instead so that the user
can just hit the enter key to go to the next wizardstep.

any ideas?

Thanks
Ken

Author
24 Jun 2005 4:37 PM
clintonG
This is IMO a bass ackwards design flaw. While this is still beta we can
submit requests to MSDN Product Feedback [1] indicating the Next button
should by default receive the focus.

<%= Clinton Gallagher
         METROmilwaukee (sm) "A Regional Information Service"
         NET csgallagher AT metromilwaukee.com
         URL http://metromilwaukee.com/
         URL http://clintongallagher.metromilwaukee.com/

[1] http://lab.msdn.microsoft.com/ProductFeedback/Default.aspx



Show quoteHide quote
"Ken Nipper" <k**@fngservices.com> wrote in message
news:mcudnXbKn9kBriHfRVn-vA@giganews.com...
> Does anyone know how to set the focus on the next button or set a
> default button?  As it stands now I have a "Previous" button and a
> "Next" button.  The "Previous" button is of course on the left hand
> side  and the "Next button is on the right hand side(standard
> navigation).  Because the browser renders the "Previous" button first
> it automatically hightlights that button when the form has focus.  I
> would like to have the "Next" button highlight instead so that the user
> can just hit the enter key to go to the next wizardstep.
>
> any ideas?
>
> Thanks
> Ken
Author
24 Jun 2005 5:40 PM
Ken Nipper
I submitted a suggestion to
http://lab.msdn.microsoft.com/ProductFeedback/Default.aspx.  I would
really like some sort of work-around as this is for a project that is
due July 1st.  Any other ideas?

Thanks
Ken

clintonG wrote:

Show quoteHide quote
> This is IMO a bass ackwards design flaw. While this is still beta we
> can submit requests to MSDN Product Feedback [1] indicating the Next
> button should by default receive the focus.
>
> <%= Clinton Gallagher
>         METROmilwaukee (sm) "A Regional Information Service"
>         NET csgallagher AT metromilwaukee.com
>         URL http://metromilwaukee.com/
>         URL http://clintongallagher.metromilwaukee.com/
>
> [1] http://lab.msdn.microsoft.com/ProductFeedback/Default.aspx
>
>
>
> "Ken Nipper" <k**@fngservices.com> wrote in message
> news:mcudnXbKn9kBriHfRVn-vA@giganews.com...
> > Does anyone know how to set the focus on the next button or set a
> > default button?  As it stands now I have a "Previous" button and a
> > "Next" button.  The "Previous" button is of course on the left hand
> > side  and the "Next button is on the right hand side(standard
> > navigation).  Because the browser renders the "Previous" button
> > first it automatically hightlights that button when the form has
> > focus.  I would like to have the "Next" button highlight instead so
> > that the user can just hit the enter key to go to the next
> > wizardstep.
> >
> > any ideas?
> >
> > Thanks
> > Ken
Author
25 Jun 2005 6:28 PM
clintonG
Google: "set focus"+"asp.net" works for me.

<%= Clinton Gallagher

Show quoteHide quote
"Ken Nipper" <k**@fngservices.com> wrote in message
news:XJOdnYfiDrw32CHfRVn-vA@giganews.com...
>I submitted a suggestion to
> http://lab.msdn.microsoft.com/ProductFeedback/Default.aspx.  I would
> really like some sort of work-around as this is for a project that is
> due July 1st.  Any other ideas?
>
> Thanks
> Ken
>
> clintonG wrote:
>
>> This is IMO a bass ackwards design flaw. While this is still beta we
>> can submit requests to MSDN Product Feedback [1] indicating the Next
>> button should by default receive the focus.
>>
>> <%= Clinton Gallagher
>>         METROmilwaukee (sm) "A Regional Information Service"
>>         NET csgallagher AT metromilwaukee.com
>>         URL http://metromilwaukee.com/
>>         URL http://clintongallagher.metromilwaukee.com/
>>
>> [1] http://lab.msdn.microsoft.com/ProductFeedback/Default.aspx
>>
>>
>>
>> "Ken Nipper" <k**@fngservices.com> wrote in message
>> news:mcudnXbKn9kBriHfRVn-vA@giganews.com...
>> > Does anyone know how to set the focus on the next button or set a
>> > default button?  As it stands now I have a "Previous" button and a
>> > "Next" button.  The "Previous" button is of course on the left hand
>> > side  and the "Next button is on the right hand side(standard
>> > navigation).  Because the browser renders the "Previous" button
>> > first it automatically hightlights that button when the form has
>> > focus.  I would like to have the "Next" button highlight instead so
>> > that the user can just hit the enter key to go to the next
>> > wizardstep.
>> >
>> > any ideas?
>> >
>> > Thanks
>> > Ken
>