http://www.metabuilders.com/Tools/FirstFocus.aspx
may help.

On Wed, 13 Oct 2004 07:48:04 -0700 (PDT), Nice Guy
<[EMAIL PROTECTED]> wrote:
>  
>  Hi!
>  
>  I have a problem regarding focusing on a specific
>  button. I'm using ASP.Net and C#.Net. I have two
>  buttons - "Yes" (btnYes) and "No" (btnNo). I want to
>  highlight the "No" button upon loading, so I used
>  onfiltered="document.frmBody.btnNo.focus()" in the
>  <body>
>  tag. I have another control, "txtData" - textbox, in
>  the screen. On first load, it highlights the btnNo
>  control. If I highlight the txtData control, the
>  screen keeps on highlighting the btnYes control and
>  not the btnNo. Could you please help me on this one. I
>  need to highlight the btnNo button as long as it is on
>  that specific web page. Thanks a lot for helping! :)
>  
>  
>              
>  __________________________________
>  Do you Yahoo!?
>  Take Yahoo! Mail with you! Get it on your mobile phone.
>  http://mobile.yahoo.com/maildemo 
>  
>  
>  
>  
>  
>  Yahoo! Groups Sponsor 
>  
>  ADVERTISEMENT
>  
>  
>  ________________________________
>  Yahoo! Groups Links
>  
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>   
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>   
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to