Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Set focus on a control on load


Message #1 by "charles baldo" <charlesbaldo@h...> on Wed, 30 May 2001 18:35:31
Hello,



Does anyone know how to set focus to a control? In asp/vbscript I was able 

to do the following:





<script language="VBSCRIPT">

Function Window_onLoad

	formname.control.focus()

End Function

</script>



This does not seem to work in .net aspx



Thank you 

chuck

http://www.globalwindows.com
Message #2 by "Yackson mata" <yackson.mata@v...> on Wed, 30 May 2001 20:12:38 +0200

Hello, Chuck



I think that depend of also control. whit tab propierties is control this

focus and whit other propierties and event.



 yackson mata

veneiformatica.ca





Message #3 by "charles baldo" <charlesbaldo@h...> on Wed, 30 May 2001 20:07:07
yackson,



Thank you for the reply. I was wondering how to do it with a <asp:text> 

control?



Thank You 

chuck



> 

> Hello, Chuck

> 

> I think that depend of also control. whit tab propierties is control this

> focus and whit other propierties and event.

> 

>  yackson mata

> veneiformatica.ca

> 

> 


  Return to Index