Ajax.Net and control focus

R

Ryan

Hello,

I am starting the use the new ajax.net and I am seeing a bizarre
behavior when controlling focus from the codebehind.

I have tried:

<control>.focus
page.setfocus(<control>)
CType(Master.FindControl("<form id>"), HtmlForm).DefaultFocus =
<control>.ClientID

None of them seem to work. Is there something obvious I am doing
weird? Maybe these methods depend on the body onload, which doesn't
fire . . . is there a way around this?

Thanks and have a great evening,
Ryan
 

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
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top