Set Focus on a web page (ASP.NET)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

Can anyone tell me how to set the focus on a web page to a particular control

Thanks
 
Hi Julian,

I only know it in HTML (javascript)

\\\
<INPUT tabindex="1" id="fieldid" type="text" size="27">

//This should be the last rows in your html aspx file

<script language="JavaScript">
fieldid.focus();
</script>
</HTML>
//
I hope this helps a little bit?
Cor
 

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

Back
Top