Ajax.Net and control focus

  • Thread starter Thread starter Ryan
  • Start date Start date
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
 
Back
Top