setfocus eh ! help

  • Thread starter Thread starter jaffer the but
  • Start date Start date
Hi Jaffer,

On a webform there is not, and because I think you are not ask it for a
windowform where it is
control.focus

You can set the focus in a webform by adding this as last rows before the
</html> in you aspx page.

<script language="JavaScript">
contolid.focus();
</script>

where controlid is the id of your control

I hope this helps a little bit?

Cor
 
What is "setfocus"? What language are you refering to? Can you post some
documentation on what "setfocus" does?

Greetings
Martin
 
Here's a cut and Paste Row on how I use it!

FocusManager1.BoundControlID = Request.Item(Me.UniqueID & "_tbOnFocus")



/lars
 
Back
Top