"That's how the screen should work" doesn't tell me *why* it
should work that way. Are there multiple boxes, and you need different
buttons highlighted depending on which box you're using?
-----Original Message-----
From: Nice Guy [mailto:[EMAIL PROTECTED]
Actually that's how the screen should work. The "No"
button should be the one highlighted and not the "Yes"
when clicking or entering data on the textbox. It
worked upon load... but when I clicked on the textbox,
it goes back on highlighting the "Yes" button. :(
Please help me on this one. Thanks!
--- Peter Brunone <[EMAIL PROTECTED]> wrote:
>
> What's the purpose of highlighting the second
> button? Maybe we
> can achieve your goal another way.
>
> -----Original Message-----
> From: Nice Guy [mailto:[EMAIL PROTECTED]
>
> 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! :)
------------------------ 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/