I am working with Visual Studio 2003, framework 1.1
I am trying to focus a textbox when page loads. I tried
Expand|Select|Wrap|Line Numbers
- Page.RegisterStartupScript("focus", "<script>document.getElementById('name').focus();</script>")
- and
- textbox.focus()
- and
- textbox.setfocus()
I have also imported system.text
Can someone help me with this.
Thanks and Regards.