Set the InitialFocus to the RadioButtonList

S

shree

Hi,

Anyone can help me.

I have to emit the javascript to set the focus to a
control in an ASP.NET during the page load.
I have done it in the RegisterStartupScript. It works
fine in the textbox control but in the case of
radiobuttionlist,
checkBoxlist the focus is set, but the user is not able
to realize this as the control is not highlighted.
If I use the tab key or arrow key it does higlight the
control and second time page is refereshed it highlights
the control.

A strange thing is that if the page is browsed inside the
IDE,
the focus is set as well as the focused control is
highlighted. Any help will be greatly appreciated.

Regards
Shree
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,263
Messages
2,571,064
Members
48,769
Latest member
Clifft

Latest Threads

Top