Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

Focus/selection on RadioButton or RadioButtonList after postback

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BizEd - 02 Oct 2007 17:53 GMT
I have a textbox that fires an autopostback when filled in.  The next
field after the textbox is a RadioButtonList which I set focus to.
The radiobutton list does have focus and activates when you hit the
spacebar, but the little selection box does not appear around the
first item like it does when you tab to a radiobutton list.  So in
essence, the user has no idea where they are on the screen.  I've
tried both the focus() method and client-side script without any luck.

Does anyone know how to focus to a radiobuttonlist after postback AND
get the selection box to appear around one of the items in the
control?

Thanks in advance for any assistance.
Aamir Ghanchi - 02 Oct 2007 22:51 GMT
> I have a textbox that fires an autopostback when filled in.  The next
> field after the textbox is a RadioButtonList which I set focus to.
[quoted text clipped - 9 lines]
>
> Thanks in advance for any assistance.

Can you change CSS styles for the focused radiobuttonlist after the
post back .. say a yello border or something to higlight it?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.